m-Bonsai: a Practical Compact Dynamic Trie
April 19, 2017 Β· Declared Dead Β· π International Journal of Foundations of Computer Science
"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 Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Data Structures & Algorithms
π
π
The Cartographer
R.I.P.
π»
Ghosted
Route Planning in Transportation Networks
R.I.P.
π»
Ghosted
Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration
R.I.P.
π»
Ghosted
Hierarchical Clustering: Objective Functions and Algorithms
R.I.P.
π»
Ghosted
Graph Isomorphism in Quasipolynomial Time
π
π
The Cartographer
Simulation optimization: A review of algorithms and applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted