Skip to content

Commit

Permalink
Add AVX2 support to IndexOfAnyValues (#78863)
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaZupan authored Jan 18, 2023
1 parent c956f69 commit 4e0195e
Show file tree
Hide file tree
Showing 2 changed files with 577 additions and 93 deletions.
2 changes: 1 addition & 1 deletion src/libraries/System.Memory/tests/Span/IndexOfAnyValues.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ static int LastIndexOfAnyExceptReferenceImpl(ReadOnlySpan<char> searchSpace, Rea
private static class IndexOfAnyValuesTestHelper
{
private const int MaxNeedleLength = 10;
private const int MaxHaystackLength = 40;
private const int MaxHaystackLength = 100;

private static readonly char[] s_randomAsciiChars;
private static readonly char[] s_randomLatin1Chars;
Expand Down
Loading

0 comments on commit 4e0195e

Please sign in to comment.