Inline FNV-1a hash algorithm

The algorithm is so simple there's no need to incur the performance
overhead over using hash/fnv package and the associated Write
interface.  This change makes hashKey 40% faster than before.  That's
a 72% improvement over what we had a few commits ago.
1 file changed
tree: ffc64287877d785cd8ec0d56ec093dcec4d53b07
  1. LICENSE
  2. list.go
  3. list_test.go
  4. map.go
  5. map_test.go
  6. profile.sh
  7. README.md
README.md

ps

Persistent data structures for Go. See the full package documentation

Install with

go get github.com/mndrix/ps