Farmhash.Sharp is a .NET port of Google's Farmhash algorithm for calculating 32bit and 64bit non-cryptographic hashes. Farmhash.Sharp has great performance characteristics when calculating 64bit hashes, especially on short strings or a subsequence of byte arrays.
Links:
- Overview
- Motivation behind this library
- Compare C# farmhash performance to C++
- Compare C# farmhash to other C# hash libraries
To build and test everything with the .NET Core 2.1 SDK:
dotnet test -f netcoreapp2.1 Farmhash.Test/Farmhash.Test.csproj