-
Notifications
You must be signed in to change notification settings - Fork 1
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
How are you going to implement ordered iteration? #1
Comments
The original paper (as far as I can tell) is a little vague on this subject, suggesting that sorting be done on the fly for the array-hash buckets. Certainly not the most glamorous approach, though. |
So is it the limitation of HAT-Tries that sorted iteration will be inefficient and some standard trie operations (such as prefix searches) will be slowish (at least much slower than using standard tries, PAT-trees or DA-tries)? This makes the application of HAT-tries quite limited. I've read the original paper this way but maybe you have some ideas? Please excuse me for polluting the bug tracker. I'm discussing this in github issues because you seems to be actively interested in this topic and github doesn't have private messages :) |
It's hard to say definitively what the performance impact will be until it's implemented, of course. In particular, Askitis' intuition was that the improved caching of a shorter tree and the fewer levels of indirection in leaves would improve performance. In the case of prefix searches, I believe the number of non-matching items to search would be limited to I think issues are a perfectly fine venue for this kind of discussion! |
You're right, there is nothing to talk about without an implementation or 2. Thanks for the discussion! |
How are you going to implement ordered iteration for HAT-Trie? It is not implemented in both C and C++ library mentioned in README.
The text was updated successfully, but these errors were encountered: