Storing a Trie with Compact and Predictable Space
Yuxuan Dong

TL;DR
This paper introduces a coordinate hash trie, a space-efficient and predictable storage method for trie structures that achieves constant average-time operations and is simple to implement.
Contribution
It presents a novel trie storage approach using a global hash table with predictable space and constant average operation time, improving over traditional methods.
Findings
Space complexity is O(n), independent of alphabet size m.
Average case operation time is O(1).
Approach is simple to implement.
Abstract
This paper proposed a storing approach for trie structures, called coordinate hash trie. The basic idea is using a global hash table with a special hash function to store all edges of a trie. For a trie with nodes and an alphabet with size , the execution time of finding, inserting and deleting a child node, is for the average case, for the worst case. The space used by this approach is , unrelated to . The constant of space consumption is predictable, with no need for reallocation or resizing. In addition, this approach is very easy to implement.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Error Correcting Code Techniques · Advanced Image and Video Retrieval Techniques
