HashCode based on xxHash32 (#14863)
authorJonathan Dickinson <jcdickinson@users.noreply.github.com>
Thu, 16 Nov 2017 02:47:00 +0000 (18:47 -0800)
committerMorgan Brown <morganbr@users.noreply.github.com>
Thu, 16 Nov 2017 02:47:00 +0000 (18:47 -0800)
commit55f6becc6d78b907f7648e1b3e34f5ff95665fa3
tree53d728428ee3404f4ab8c33222725dc73e270d11
parent658bc65a42fac8eef005f0470e89a1070ded106e
HashCode based on xxHash32 (#14863)

* HashCode based on xxHash32

Works by maintaining the xxHash32 state variables (v1 -> v4, length) as well as a queue of values that fall outside of the block size (16 bytes/4 ints). The seed is initialized to random bytes.

Further details, unit tests and history: https://github.com/dotnet/corefx/pull/25013
THIRD-PARTY-NOTICES.TXT
src/mscorlib/Resources/Strings.resx
src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/mscorlib/shared/System/HashCode.cs [new file with mode: 0644]