Persisting a trie to a file - C
Posted
by Appu
on Stack Overflow
See other posts from Stack Overflow
or by Appu
Published on 2010-04-03T17:37:52Z
Indexed on
2010/04/03
17:43 UTC
Read the original article
Hit count: 383
I have a trie
which I am using to do some string processing. I have a simple compiler which generates trie
from some data. Once generated, my trie
won't change at run time.
I am looking for an approach where I can persist the trie in a file and load it effectively. I have looked at sqllite
to understand how they are persisting b-tree
but their file format looks bit advanced and I may not need all of those.
It'd be helpful if someone can provide some ideas to persist and read the trie
. I am programming using C.
© Stack Overflow or respective owner