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

tune prefix tree implementation #1105

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

brharrington
Copy link
Contributor

Updates the prefix tree implementation to improve the performance. Instead of going character by character the nodes will now keep a prefix string for faster matching and less thread contention. Testing on real sample data it reduced the time for matching against the query index by ~6%.

Updates the prefix tree implementation to improve the
performance. Instead of going character by character
the nodes will now keep a prefix string for faster
matching and less thread contention. Testing on real
sample data it reduced the time for matching against
the query index by ~6%.
@brharrington brharrington added this to the 1.7.5 milestone Jan 3, 2024
@brharrington brharrington merged commit 4c78bf8 into Netflix:main Jan 4, 2024
1 check passed
@brharrington brharrington deleted the prefix-tree-test branch January 4, 2024 00:01
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.

None yet

1 participant