-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimized string.Replace(char, char) #67049
Commits on Mar 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 549d7c4 - Browse repository at this point
Copy the full SHA 549d7c4View commit details
Commits on Mar 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7dfe855 - Browse repository at this point
Copy the full SHA 7dfe855View commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5232726 - Browse repository at this point
Copy the full SHA 5232726View commit details -
Do vectorized operation at the end of the string only once
When the remaining length is a multiple of the vector size, then the remainder is processed twice. This is redundant, and not needed. This commit changes that, so that the remainder is processed only once when the remaining elements match.
Configuration menu - View commit details
-
Copy full SHA for a442549 - Browse repository at this point
Copy the full SHA a442549View commit details
Commits on Jul 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4e99ac4 - Browse repository at this point
Copy the full SHA 4e99ac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30889ac - Browse repository at this point
Copy the full SHA 30889acView commit details -
Handle remainder vectorized even if remainingLength <= Vector<ushort>…
….Count and added tests for this
Configuration menu - View commit details
-
Copy full SHA for 8627f6f - Browse repository at this point
Copy the full SHA 8627f6fView commit details -
Introduce (internal) Vector.LoadUnsafe and Vector.StoreUnsafe and use…
… it in string.Replace(char, char)
Configuration menu - View commit details
-
Copy full SHA for ed83650 - Browse repository at this point
Copy the full SHA ed83650View commit details -
Avoid Unsafe.As<char, ushort> reinterpret casts by introducing string…
….GetRawStringDataAsUshort() internal method
Configuration menu - View commit details
-
Copy full SHA for 5d92816 - Browse repository at this point
Copy the full SHA 5d92816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ee90f4 - Browse repository at this point
Copy the full SHA 0ee90f4View commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0a7ca74 - Browse repository at this point
Copy the full SHA 0a7ca74View commit details -
Configuration menu - View commit details
-
Copy full SHA for c65192a - Browse repository at this point
Copy the full SHA c65192aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35679cb - Browse repository at this point
Copy the full SHA 35679cbView commit details