https://bugs.exim.org/show_bug.cgi?id=2430

--- Comment #4 from Andreas Bergmann <andreas.bergm...@cyren.com> ---
Created attachment 1219
  --> https://bugs.exim.org/attachment.cgi?id=1219&action=edit
Prefer while to memchr

FYI - Knowing that UCHAR21TEST for now is just dereferencing 'start_match',
I've found using the while loop that is in place for other than 8-bit unit
widths a viable workaround (see attached patch):

 1048576 bytes    0.000078 sec   (?i)abc
 1048576 bytes    0.000121 sec   (a|A)(b|B)(c|C)
 1048576 bytes    0.000091 sec   [aA][bB][cC]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to