Hi,
Thank you for your reply!
> Is code like this ever actually relevant for performance? In cases where the
> compiler can't also optimize the code? Unless it is a legitimate bottleneck,
> adding more complicated code to optimize the case doesn't make sense.
I just think the patch isn't that complicated.
> The benchmark really should show performance benefits in at least somewhat
> realistic cases (i.e. real users of the functions, even if the workload is a
> bit more extreme than it'd be most of the time).
Yeah, this makes sense to me. Maybe I need to think more on it.
--
Regards,
ChangAo Chen