System and method for using a compressed trie to estimate like predicates
Abstract
A compressed trie has nodes including multiple character sub-strings. Such multiple character storage reduces the number of nodes in the trie, thereby reducing the amount of memory required for storing the trie and reducing the amount of time required to perform matching. Furthermore, in such a compressed trie, sub-strings are stored in a single character string. Each node references its corresponding sub-string by the sub-string's starting position and length in the character string. Multiple nodes may reference a single sub-string. Thus, referencing rather than storing sub-strings in corresponding nodes eliminates repetitive sub-string storage, thereby reducing the amount of memory required for storing the trie.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 14.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for inserting a string into trie having a plurality of nodes, the method comprising: assigning a string including at least one sub-string to at least one node in the trie such that each sub-string is assigned to a corresponding node; for each sub-string, adding the sub-string to a character string, the sub-string identified by a starting position and a length in the character string; and for each node, storing at the node the starting position and the length of the node's corresponding sub-string.
- Claim 2Depends on #1
The method of claim 1 , wherein the step of assigning the string including at least one sub-string to at least one node in the trie such that each sub-string is assigned to a corresponding node comprises: assigning a current node to be a root node of the trie; determining if a starting c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Al-Suwaiyel, M. et al, "Algorithms for Trie Compaction" ACM Transactions on Database Systems, Jun. 1984, 9(2), 243-263.
- Comer, D. et al., "The Complexity of Trie Index Construction", Journal of the Association for Computing Machinery, Jul. 1977, 24(3), 428-440.
- Comer, D., "Analysis of a Heuristic for Full Trie Minimization", ACM Transactions on Database Systems, Sep. 1981, 6(3), 513-537.
- Comer, D., "Heuristics for Trie Index Minimization", ACM Transactions on Database Systems, Sep. 1979, 4(3), 383-395.
- Heinz, S. et al., "Burst Tries: A Fast, Efficient Data Structure for String Keys", ACM Transactions on Information Systems, Apr. 2002, 20(2), 192-223.