3 ms·
So memcmp was faster, right?
by deletes 13y ago
So memcmp was faster, right?
- eliasmacpherson 13y agoDidn't finish the job, realised code was optimised out by O3 and left it at that. Unoptimised strncmp was beating unoptimised memcmp, it was taking 1.900s to finish where memcmp was taking 2.178s over many iterations.