aho_corasick
aho_corasick copied to clipboard
do the tree-building off-line
I have millions of pattern to search, so it may cost much time to build the tree.
could you save the already-built-tree in file and then load it when use?