Skip to content

Storing arbitrary byte sequences #1

@superbobry

Description

@superbobry

Current API of libdatrie requires all strings to be nul-terminated. Because of this, the trie can't store arbitrary byte sequences e.g. integers.

I see two ways of addressing this limitation:

  1. Switch from unit8 to uint16 for TrieChar.
  2. Implement an API with explicit length parameter.

The original request was submitted to the Python wrapper, see pytries/datrie#31.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions