From 7108bdf27c7a460cf83c4a01dea54ae4591d8aea Mon Sep 17 00:00:00 2001 From: goldsteinn <35538541+goldsteinn@users.noreply.github.com> Date: Mon, 23 May 2022 20:45:31 -0500 Subject: 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. --- Objects/stringlib/undef.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Objects/stringlib/undef.h') 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 -- cgit v1.2.1