This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
[BETA] Improved performance (originally from #7 & #8) #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note that this is not intended as a deliverable but rather just an experiment
The following fixes are as follows:
It was revealed that the fix introduces variances in the average path lengths as shown by its decimal values. As that was the case, this reveals that while the fix improved performance it did have a bit of a trade-off in terms of path selection albeit more noticeable on mazes with scarce walls rather than actual well-designed mazes.
This then was the reason why this supposed improvement is still in BETA stage as it is yet to be proven if the performance benefit is worth the minor change in path selection quality.
Before #7
During/After #7