Prefix search in a radix tree/patricia trie

后端 未结 4 1583
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-30 16:16

I\'m currently implementing a radix tree/patricia trie (whatever you want to call it). I want to use it for prefix searches in a dictionary on a severely underpowered piece

4条回答
  •  我在风中等你
    2020-12-30 16:40

    It turns out the GNU extensions for the standard c++ lib includes a Patricia trie implementation. It's found under the policy-based data-structures extension. See http://gcc.gnu.org/onlinedocs/libstdc++/ext/pb_ds/trie_based_containers.html

提交回复
热议问题