Skip to content

Commit

Permalink
Add Avx512 support to ProbabilisticMap (#96931)
Browse files Browse the repository at this point in the history
* Add Avx512 support to ProbabilisticMap

* Add Vector512 condition

* Fix assert
  • Loading branch information
MihaZupan committed Feb 1, 2024
1 parent 9e302a5 commit 900bc5a
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 39 deletions.
2 changes: 1 addition & 1 deletion src/libraries/System.Memory/tests/Span/SearchValues.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static int LastIndexOfAnyExceptReferenceImpl(ReadOnlySpan<char> searchSpace, Rea
private static class SearchValuesTestHelper
{
private const int MaxNeedleLength = 10;
private const int MaxHaystackLength = 100;
private const int MaxHaystackLength = 200;

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

0 comments on commit 900bc5a

Please sign in to comment.