-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize
HashCode.AddBytes
for inputs larger than 16 bytes. (#70095)
* Optimize `HashCode.AddBytes` for inputs larger than 16 bytes. * Address PR feedback, refactor control flow and inline UnsafeAddMany. Co-authored-by: Tanner Gooding <tagoo@outlook.com> * Add more asserts before memory reads and move one inside the main loop. * Address PR feedback. Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Tanner Gooding <tagoo@outlook.com> Co-authored-by: Stephen Toub <stoub@microsoft.com>
- Loading branch information
1 parent
879f201
commit c36e26d
Showing
1 changed file
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters