Benchmark and accelerate path closure with slippage - #13
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Positive slop previously disabled all completion pruning, making small forced fits exhaust the search budget. This change allows pruning against the remaining total gap budget while retaining exact headings/heights and the existing final joint/collision checks.
Physical intervals enclose coordinates outward using integer arithmetic, so nearly cancelling radical coefficients cannot hide valid millimetre gaps. Longer tails use eight directional bounds; short tails use an index of nearby physical boxes. Geometry and future-target caches include remaining slack, and indexes are cleared on return or callback errors. Preprocessing and search limits are unchanged.
Adds 18 slippage benchmarks alongside the nine exact cases. The runner supports suite/case/engine selection, repeated median/min/max timings, gap reporting and ordered result fingerprints. Documentation includes every relevant tradeoff:
Validation:
c600a0f.Measurements are local Python 3.12 three-run medians against
3107f25, with identical case settings; they are not timing assertions. Seedocs/performance.mdanddocs/search-correctness.md.