m-Bonsai: a Practical Compact Dynamic Trie

April 19, 2017 Β· Declared Dead Β· πŸ› International Journal of Foundations of Computer Science

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Andreas Poyias, Simon J. Puglisi, Rajeev Raman arXiv ID 1704.05682 Category cs.DS: Data Structures & Algorithms Citations 10 Venue International Journal of Foundations of Computer Science Last Checked 4 months ago
Abstract
We consider the problem of implementing a space-efficient 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 is a compact trie proposed by Darragh et al. (Softw., Pract. Exper. 23(3), 1993, p. 277-291). Its disadvantages include the user having to specify an upper bound $M$ on the trie size in advance (which cannot be changed easily after initalization), a space usage of $M \log Οƒ+ O(M \log \log M)$ (which is asymptotically non-optimal for smaller $Οƒ$ or if $n \ll M$) and a lack of support for deletions. It supports traversal and update operations in $O(1/Ξ΅)$ expected time (based on assumptions about the behaviour of hash functions), where $Ξ΅= (M-n)/M$ and has excellent speed performance in practice. We propose an alternative, m-Bonsai, that addresses the above problems, obtaining a trie that uses $(1+Ξ²) n (\log Οƒ+ O(1))$ bits in expectation, and supports traversal and update operations in $O(1/Ξ²)$ expected time and $O(1/Ξ²^2)$ amortized expected time, for any user-specified parameter $Ξ²> 0$ (again based on assumptions about the behaviour of hash functions). We give an implementation of m-Bonsai which uses considerably less memory and is slightly faster than the original Bonsai.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Data Structures & Algorithms

Died the same way β€” πŸ‘» Ghosted