Improved practical compact dynamic tries

11Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We consider the problem of implementing a dynamic trie with an emphasis on good practical performance. For a trie with n nodes with an alphabet of size σ, the information-theoretic lower bound is n log σ + O(n) bits. The Bonsai data structure [1] supports trie operations in O(1) expected time (based on assumptions about the behaviour of hash functions). While its practical speed performance is excellent, its space usage of (1+ ϵ)n(log σ+O(log log n)) bits, where ϵ is any constant > 0, is not asymptotically optimal. We propose an alternative, m-Bonsai, that uses (1 + ϵ)n(log σ + O(1)) bits in expectation, and supports operations in O(1) expected time (again based on assumptions about the behaviour of hash functions). We give a heuristic implementation of m- Bonsai which uses considerably less memory and is slightly faster than the original Bonsai.

Cite

CITATION STYLE

APA

Poyias, A., & Raman, R. (2015). Improved practical compact dynamic tries. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9309, pp. 324–336). Springer Verlag. https://doi.org/10.1007/978-3-319-23826-5_31

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free