/symboltab

A hopefully fast symbol table (string <=> integer sequence number)

Primary LanguageGoMIT LicenseMIT

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