datrie
datrie copied to clipboard
New feature: integer sequences as keys
It would be great to have a new class that would support storing sequences of integers in a defined range as keys rather than only unicode.
I think we could introduce a BytesTtrie and add a struct-based wrapper on top.
Unfortunately, BytesTrie can't be implemented with the current version of libdatrie. The maximum size of the alphabet supported by the library is 255 (and not 256), therefore we can't store an arbitrary sequence of bytes.
I've emailed @thep about the issue but got no reply so far.