3 ms·
Regarding number 2: Loop-invariant strlen(): I would write the loop as the optimised version first hand, especially if there were nested loops. No. 5 caught m
by NAFV_P 13y ago
Regarding number 2: Loop-invariant strlen():
I would write the loop as the optimised version first hand, especially if there were nested loops.
No. 5 caught me out, but I'm not surprised.