-
Notifications
You must be signed in to change notification settings - Fork 9
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
Is there a way to save a Triez to file and load it again? #2
Comments
Thank you. I think this feature is very important too! But the underlying implementation (HAT-trie) can not do this either... HAT-trie is composed of data buckets, we may save and load these buckets in a shorter time than iterating all key-values. I think it's not hard to achieve the goal (just change the memory allocation functions and serialize chunk pointers), or, maybe some one has already done it (do you have any idea?). Currently I'm working on other stuffs but will come back try to make it next week. |
I ran into this issue too. Marshal.dump/load compatibility would be fantastic, even if at a performance penalty. |
I am also really interested in this feature. Did you find a way? |
I started work on it, but did not finish due to a hope that the code bases On Mon, Feb 23, 2015 at 4:01 PM, oddg [email protected] wrote:
|
Nice work with this gem. I've been looking through the source for possible ways to save and load a trie using Triez. I haven't seen anything in the source yet, but I'm curious if you have any thoughts or suggestions?
The text was updated successfully, but these errors were encountered: