Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add tests
  • Loading branch information
EgorBo committed Feb 10, 2022
commit e0bd4ba45bc501cf3182cc1b335051917ad2a5bf
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public static bool Equals(string? a, string? b)
return EqualsUnrolled_0_to_8(a, b);
}
// Unroll using two Vector128s
if (b.Length <= 16 && Vector128.IsHardwareAccelerated)
else if (b.Length <= 16 && Vector128.IsHardwareAccelerated)
{
return EqualsUnrolled_9_to_16(a, b);
}
Expand Down
Loading