3 ms·
Bit rusty here but what if you replaced if (*file_lo == 127) { ++count; with count += (*file_lo == 127); That might save you the occasional
by _a_a_a_ 2y ago
Bit rusty here but what if you replaced
if (*file_lo == 127) {
++count;
with
count += (*file_lo == 127);
That might save you the occasional branch mis-prediction, and might possibly open up some hardware-level loop optimisations. Any difference?