-
Notifications
You must be signed in to change notification settings - Fork 17
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
Feature request: saving/loading trie from disk #10
Labels
Milestone
Comments
The initial parsing from words to the trie tree takes pretty long time for every Ruby trie lib I've seen, any any efforts to mitigate this by saving/loading from disk would be big improvement imo. |
gonzedge
added a commit
that referenced
this issue
Jan 8, 2017
This can now be done by calling: ``` Rambling::Trie.dump your_trie, filename: 'a filename' ``` Then, later on: ``` trie = Rambling::Trie.load 'a filename' ``` Formats include Marshal and YAML! [Related to #10]
gonzedge
added a commit
that referenced
this issue
Jan 8, 2017
This can now be done by calling: ``` Rambling::Trie.dump your_trie, 'a filename' ``` Then, later on: ``` trie = Rambling::Trie.load 'a filename' ``` [Related to #10]
gonzedge
added a commit
that referenced
this issue
Jan 8, 2017
Two nodes are equal to each other if they have the same letter and their children tree is the same [In service of #10]
gonzedge
added a commit
that referenced
this issue
Jan 8, 2017
Extract new File serializer for common load/dump functionality. [Related to #10]
gonzedge
added a commit
that referenced
this issue
Jan 8, 2017
gonzedge
added a commit
that referenced
this issue
Jan 9, 2017
- Remove serializers and readers logic from Rambling::Trie module - Add Configuration module - Add Configuration::Properties module - Unify readers and serializers configuration in Configuration::ProviderCollection - Ensure tests use new configuration options appropriately [Related to #10]
gonzedge
added a commit
that referenced
this issue
Feb 26, 2018
gonzedge
added a commit
that referenced
this issue
Feb 26, 2018
- Remove serializers and readers logic from Rambling::Trie module - Add Configuration module - Add Configuration::Properties module - Unify readers and serializers configuration in Configuration::ProviderCollection - Ensure tests use new configuration options appropriately [Related to #10]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also suggested by @darkogj
The text was updated successfully, but these errors were encountered: