pytries / datrie

Fast, efficiently stored Trie for Python. Uses libdatrie.
http://pypi.python.org/pypi/datrie/
GNU Lesser General Public License v2.1
530 stars 88 forks source link

iter_prefix_values and friends #8

Closed oberstet closed 11 years ago

oberstet commented 11 years ago

Would be nice to have those, so that the library can be used as a dropin replacement for PyTrie.

kmike commented 11 years ago

Hi,

+1 for this feature. I don't currently have a time and an intention to do this myself, so pull requests are appreciated. It should be pretty straightforward to implement:

I never thought about datrie as a drop-in replacement for PyTrie, but that make sense indeed (as API was modelled after PyTrie).

kmike commented 11 years ago

These methods are available in datrie 0.6.