Skip to content

siongui/go-succinct-data-structure-trie

Repository files navigation

https://goreportcard.com/badge/github.com/siongui/go-succinct-data-structure-trie https://img.shields.io/twitter/url/https/github.com/siongui/go-succinct-data-structure-trie.svg?style=social

Implementation of Succinct Trie [1] in Go.

The trie structure is great for fast lookup of dictionary words, but if the vocabulary of the dictionary is big, it may takes a lot of space to store the constructed trie. For this reason, succinct data structure is applied to the trie strcuture and we can both have fast lookup and small space requirement.

Usage

UNLICENSE

Released in public domain. See UNLICENSE.

References

[1]Succinct Data Structures: Cramming 80,000 words into a Javascript file. (source code)
[2]Google Search succinct data structure
[3]Google Search succinct trie
[4]Google Search golang const array
[5]Google Search golang function as argument
[6]

Google Search golang charcodeat

string - Go lang's equivalent of charCode() method of JavaScript - Stack Overflow

[7][Golang] Succinct Trie Implementation
[8][JavaScript] Bug in Succinct Trie Implementation of Bits.js

Releases

No releases published

Packages

No packages published

Languages