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

perf: Optimise string inference #14

Merged
merged 2 commits into from
Jul 4, 2024
Merged

perf: Optimise string inference #14

merged 2 commits into from
Jul 4, 2024

Conversation

hgrsd
Copy link
Owner

@hgrsd hgrsd commented Jul 4, 2024

Using some basic heuristics, we can decrease the amount of regex matching that we do. This leads to a significant (15-20% in some local benchmarks) speedup for large data sets, depending on how many strings are matches for the specific stringtypes.

@hgrsd hgrsd merged commit daefbb6 into main Jul 4, 2024
6 checks passed
@hgrsd hgrsd deleted the optimise-string-inference branch July 4, 2024 19:18
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.

1 participant