4 ms·
Did you actually read the code. I think if they were going to do that it would be a literal sleep instruction rather than a naievely used way of looping over da
by fao_ 6y ago
Did you actually read the code. I think if they were going to do that it would be a literal sleep instruction rather than a naievely used way of looping over data
edit: Akchually, the DRY method of doing this would be to make a function like:
/* Remove this when it's time for a performance improvement! */
function Optimize(int N)
/* do stuff N times (so you can limit the amount of performance improvement) */
end
and then put that in the places you want to be able to optimize in the future