https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88545
--- Comment #4 from Georg Sauthoff <gcc at gms dot tf> ---
Sam, thank you for the hint and surfacing it again.

(In reply to Jonathan Wakely from comment #2)
[..]
> I would prefer to do simply:
[..]

Yes, please go ahead with your approach.


> I think we're going to remove the manual loop unrolling in __find_if for GCC
> 15, which should allow the compiler to optimize it better, potentially
> auto-vectorizing. That might make memchr less advantageous, but I think it's
> worth doing anyway.

This is great news!

Reply via email to