https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88545

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to GCC Commits from comment #13)
> The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:
> 
> https://gcc.gnu.org/g:de19b516edbf919d31e9d22fdbf6066342d904a2
> 
> commit r15-1857-gde19b516edbf919d31e9d22fdbf6066342d904a2
> Author: Jonathan Wakely <jwak...@redhat.com>
> Date:   Wed Jun 5 16:01:26 2024 +0100
> 
>     libstdc++: Use memchr to optimize std::find [PR88545]
>     
>     This optimizes std::find to use memchr when searching for an integer in
>     a range of bytes.

I see libc++ will also use wmemchr for some cases too.
I noticed it when looking into
https://hachyderm.io/@frog@idtech.space/112757633248218604 .

Reply via email to