3 ms·
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 depe
by dzaima 4y ago
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.