diff options
author | goldsteinn <35538541+goldsteinn@users.noreply.github.com> | 2022-05-23 20:45:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 10:45:31 +0900 |
commit | 7108bdf27c7a460cf83c4a01dea54ae4591d8aea (patch) | |
tree | 0ebf080594979a194459f6d5f4f30cb6fafffdac /Objects/stringlib/undef.h | |
parent | f7fabae75c7b8ecd0c5673b5d62a15db24a05953 (diff) | |
download | cpython-git-7108bdf27c7a460cf83c4a01dea54ae4591d8aea.tar.gz |
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.
Diffstat (limited to 'Objects/stringlib/undef.h')
-rw-r--r-- | Objects/stringlib/undef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/undef.h b/Objects/stringlib/undef.h index bf32298505..cc873a2ec4 100644 --- a/Objects/stringlib/undef.h +++ b/Objects/stringlib/undef.h @@ -8,3 +8,4 @@ #undef STRINGLIB_NEW #undef STRINGLIB_IS_UNICODE #undef STRINGLIB_MUTABLE +#undef STRINGLIB_FAST_MEMCHR |