Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement functionality to merge multiple tries #3

Open
cowtowncoder opened this issue May 31, 2010 · 0 comments
Open

Implement functionality to merge multiple tries #3

cowtowncoder opened this issue May 31, 2010 · 0 comments

Comments

@cowtowncoder
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant