Ping: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01830.html Original patch (without the early exit optimization): https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01591.html
Thanks, - Eddy B. On Fri, Oct 25, 2019, at 3:44 PM, Eduard-Mihai Burtescu wrote: > > This can be further optimized by using memcmp in place of strncmp, since > > from > > the length check you know that you won't see the null terminator among the > > three > > chars you're checking. > > Fair enough, here's the combined changelog/diff, with memcmp: