A hopefully fast symbol table (string <=> integer sequence number)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE.txt
README.md
intbank.go
intbank_test.go
symboltab.go
symboltab_test.go

README.md

GoDoc Build Status

I've called this a "symbol table". It converts a string ID to an integer sequence number. The integers start at 1 and increase by 1 for each new unique string. The intention is to store a very large number of strings, so the library is light on GC.

The idea behind the symbol table is to convert string IDs into integer IDs that can then be used for fast comparison and array/slice lookups