Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable similar path detection by default #323

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

hendrikvanantwerpen
Copy link
Collaborator

Similar path detection prevents exponential path blowup during path stitching. However, it incurs a preformance cost and for that reason it was disabled by default.

The problem is that users cannot pass along the right stitcher configuration in all places where stitching is used. If the rules for a language can result in exponential blowup, users have no way of preventing that at the moment.

This PR changes the partial path stitcher to use similar path detection by default. This will make the library safe and unblock other work depending on this to work. In the future, users should be able to pass along stitcher configuration everywhere it is relevant. This work is tracked in issue #322.

@hendrikvanantwerpen hendrikvanantwerpen requested a review from a team as a code owner October 17, 2023 10:09
@hendrikvanantwerpen hendrikvanantwerpen self-assigned this Oct 17, 2023
@hendrikvanantwerpen hendrikvanantwerpen merged commit 1e307b5 into main Oct 17, 2023
8 of 9 checks passed
@hendrikvanantwerpen hendrikvanantwerpen deleted the detect-similar-paths-by-default branch October 17, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants