Re:tolower() in bulk at speed
by stabbles on Monday June 27, 2022 @06:11PM
(#31901535)
It's not the same, libc's tolower takes an int as an individual character
[ Parent
| on HN ]
Re:tolower() in bulk at speed
by Findecanor on Monday June 27, 2022 @06:19PM
(#31901610)
Although ... the existence of a libc with SIMD versions of its functions is not implausible. There are compilers that would produce such functions beside the normal ones if the source is decorated with the right #pragma.
Such functions would be called only from within vectorised loops (or other SIMD versions of functions).