nathanday/ndtrie

how to serialize and deserialize a very big Trie ?

Closed this issue · 1 comments

hi, how to serialize and deserialize a very big Trie?
I found that search is very fast, but build the trie is very slow when there are 235886 words(/usr/share/dict/words) .

sorry, I just found the below two methods are what I need:
+ (id)trieWithContentsOfFile:(NSString *)path;
- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)atomically;