mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-93033: Use wmemchr in stringlib (GH-93034)
Generally comparable perf for the "good" case where memchr doesn't return any collisions (false matches on lower byte) but clearly faster with collisions.
This commit is contained in:
parent
f7fabae75c
commit
7108bdf27c
11 changed files with 39 additions and 14 deletions
|
|
@ -8,3 +8,4 @@
|
|||
#undef STRINGLIB_NEW
|
||||
#undef STRINGLIB_IS_UNICODE
|
||||
#undef STRINGLIB_MUTABLE
|
||||
#undef STRINGLIB_FAST_MEMCHR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue