Add a SearchValues ProbabilisticMap implementation that uses an ASCII fast path ...
authorMiha Zupan <mihazupan.zupan1@gmail.com>
Wed, 19 Jul 2023 22:08:01 +0000 (00:08 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Jul 2023 22:08:01 +0000 (18:08 -0400)
commitfb2ae671206443dc1865b39e3c9c82ebcb4d47ba
tree0aa46cecf6042ae6c3318ecfb20833bcded8be98
parentd1adf8187071ae5e47f74e3ba2317cf93cac76eb
Add a SearchValues ProbabilisticMap implementation that uses an ASCII fast path (#89155)

* Add a SearchValues ProbabilisticMap implementation that uses an ASCII fast path

* Add comments and asserts around IOptimizations selection

* Unused using
src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems
src/libraries/System.Private.CoreLib/src/System/SearchValues/IndexOfAnyAsciiSearcher.cs
src/libraries/System.Private.CoreLib/src/System/SearchValues/ProbabilisticCharSearchValues.cs
src/libraries/System.Private.CoreLib/src/System/SearchValues/ProbabilisticWithAsciiCharSearchValues.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/SearchValues/SearchValues.cs