MARISA Trie provides static memory-efficient Trie-like structures for Python
based on marisa-trie C++ library.
String data in a MARISA-trie may take up to 50x-100x less memory than in a
standard Python dict; the raw lookup speed is comparable; trie also provides
fast advanced methods like prefix search.
Note: There are official SWIG-based Python bindings included in C++ library
distribution; this package provides alternative Cython-based pip-installable
Python bindings.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-marisa-trie listed in the above command, you can pick from the names under the Packages section.
devel/py-marisa-trie: Add py-marisa-trie 1.1.0
MARISA Trie provides static memory-efficient Trie-like structures for Python
based on marisa-trie C++ library.
String data in a MARISA-trie may take up to 50x-100x less memory than in a
standard Python dict; the raw lookup speed is comparable; trie also provides
fast advanced methods like prefix search.
Note: There are official SWIG-based Python bindings included in C++ library
distribution; this package provides alternative Cython-based pip-installable
Python bindings.