notes:internals:trie
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:internals:trie [2025/08/11 20:42] – smj-edison | notes:internals:trie [2025/09/07 01:51] (current) – smj-edison | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== The Trie ===== | ===== The Trie ===== | ||
| - | A Trie is the data structure that underlies Folk's database. It is the index to all Wishes, Claims, | + | A Trie is the data structure that underlies Folk's database. It is the database' |
| - | and Whens. The Trie works by inserting and removing Clauses. A Clause is an array of space-seperated | + | Let's look at an example Statement |
| - | words, | + | |
| - | become [" | + | |
| - | Let's insert | + | Let's insert |
| {{notes: | {{notes: | ||
| Line 42: | Line 40: | ||
| also get the value " | also get the value " | ||
| + | === Footnotes === | ||
| * Technically, | * Technically, | ||
| not for each word. It makes more sense to be for each word in Folk though. | not for each word. It makes more sense to be for each word in Folk though. | ||
notes/internals/trie.1754944978.txt.gz · Last modified: by smj-edison
