Re:tolower() in bulk at speed
by dzaima on Monday June 27, 2022 @06:10PM
(#31901524)
An out-of-order CPU will interleave things for you. Any modern CPU should have no issues running many iterations of the loop in parallel, as nothing should depend on the previous iteration.
But, given that the task at hand usually deals with very short inputs, there's not much to interleave with anyway.
But, given that the task at hand usually deals with very short inputs, there's not much to interleave with anyway.