Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Feb 10, 2022
1 parent d195951 commit e0bd4ba
Show file tree
Hide file tree
Showing 3 changed files with 372 additions and 1 deletion.
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

0 comments on commit e0bd4ba

Please sign in to comment.