diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-03-27 00:27:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 00:27:21 -0700 |
commit | 9e078ffab41899650419a5928832a4302b6881e0 (patch) | |
tree | d93c373a4739e5d60c28e3e238bca72febee87ca /src/vm/clrex.inl | |
parent | 6b3d2dd677f5637e89153e8277184eca93152338 (diff) | |
download | coreclr-9e078ffab41899650419a5928832a4302b6881e0.tar.gz coreclr-9e078ffab41899650419a5928832a4302b6881e0.tar.bz2 coreclr-9e078ffab41899650419a5928832a4302b6881e0.zip |
Vectorized SequenceCompareTo for Span<char> (#17237)
- This change makes the compare for very short Span strings a bit slower and for longer Span strings many times faster.
- Switch several places where it was a clear benefit to use it.
`String.CompareOrdinal(string,string)` is notable exception that I have left intact for now. It is fine tuned for current string layout, and replacing with a call of vectorized SequenceCompareTo gives mixed results.
Diffstat (limited to 'src/vm/clrex.inl')
0 files changed, 0 insertions, 0 deletions