Skip to content

vova616/xxhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xxhash

xxhash is a pure go (golang) implementation of xxhash.

Benchmark

go test github.com/vova616/xxhash -bench=".*"

Core i7-3770K CPU @ 3.50GHz go version devel +16e0e01c2e9b Sat Mar 09 18:14:00 2013 -0800 windows/386

Benchmark_xxhash32     			50000000     61.1 ns/op
Benchmark_CRC32IEEE    			10000000      145 ns/op
Benchmark_Adler32      	 		10000000      181 ns/op
Benchmark_Fnv32 				10000000      162 ns/op
Benchmark_MurmurHash3Hash32     1000000      1927 ns/op

Note:

The package uses unsafe to get higher performance its safe as far as I know but if you don't want it you can use switch to early commits.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages