News for hackers. Stuff that matters.
Re:tolower() in bulk at speed by vinkelhake on Monday June 27, 2022 @06:07PM (#31901486)
libc tolower() works on a single char at a time. This post is about the gains you can get by converting multiple chars at once.
Re:tolower() in bulk at speed by londons_explore on Tuesday June 28, 2022 @05:47AM (#31905885)
Presumably with the right __inline stuff it could be vectorized by a compiler, since tolower is normally called from a loop?

Although I guess since it's often a dynamically linked library, said optimizations would have to happen at load time, and the dynamic loader doesn't do such things... :-(