A C# port of rapidhash (a fast non-cryptographic hash function) for Unity/Burst is presented. The implementation is ~100 lines of code and uses Unity's Burst compiler for 128-bit multiply access. Performance benchmarks show rapidhash reaching 38GB/s on Ryzen 5950X and 67GB/s on Apple M4 Max, consistently outperforming XXH3 — especially notable since the C#/Burst port of XXH3 is 30-40% slower than its native C counterpart, while rapidhash's Burst port matches native C performance at larger input sizes.

2m read timeFrom aras-p.info
Post cover image
Table of contents
Performance

Sort: