Skip to content

Implement functionality to merge multiple tries #3

Description

@cowtowncoder

Given iterator functionality (see http://github.com/ning/tr13/issues#issue/2), it should be easy to implement merge functionality, where 2 (or perhaps more) input tries are merged into a result trie.
This assumes that tries are ordered the same way (meaning usually they are not reordered).

Functionality would be most useful for incremental building of tries, for example in (near) realtime cases where mutable HashMap (or such) is used for gathering new entries, which are regularly merged with immutable tries instance, to produce new immutable version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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