-
Notifications
You must be signed in to change notification settings - Fork 178
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
Consistent trie sort order #5615
base: main
Are you sure you want to change the base?
Conversation
Got around to finishing this up so I can run benchmarks.
Main notable thing there is the +28% on SimpleAscii getter performance. So, this is probably not a good idea as the default behavior. However, modeling ZeroTrie as essentially 3 different branching functions might not be a bad idea:
|
Here's how
(it returns a MixedCase error on subtags_full) So it seems that the comparison function in this PR is slightly faster than the comparison function in IgnoreCase. (5.8089 µs vs 6.4419 µs) |
#5584