https://github.com/jamiealquiza/fnv
Allocation-free FNV-1 32 and 64 bit variants
https://github.com/jamiealquiza/fnv
fnv go golang golang-library hashing-algorithm
Last synced: 3 months ago
JSON representation
Allocation-free FNV-1 32 and 64 bit variants
- Host: GitHub
- URL: https://github.com/jamiealquiza/fnv
- Owner: jamiealquiza
- License: mit
- Created: 2017-08-09T20:35:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-09T21:35:32.000Z (over 8 years ago)
- Last Synced: 2025-01-02T13:28:10.650Z (11 months ago)
- Topics: fnv, go, golang, golang-library, hashing-algorithm
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://godoc.org/github.com/jamiealquiza/fnv)
# fnv
Package fnv implements allocation-free 32 and 64 bit FNV-1 hash variants.
```
% go test -bench=. -benchmem
BenchmarkHash32a-4 300000000 4.85 ns/op 0 B/op 0 allocs/op
BenchmarkHash32-4 300000000 4.78 ns/op 0 B/op 0 allocs/op
BenchmarkHash64a-4 300000000 6.01 ns/op 0 B/op 0 allocs/op
BenchmarkHash64-4 300000000 5.18 ns/op 0 B/op 0 allocs/op
```