3 ms·
It is also vague what "processing" means in this context. Just about everything you do is processing already, so there really shouldn't be a "reason" it is fast
by rhacker 7y ago
It is also vague what "processing" means in this context. Just about everything you do is processing already, so there really shouldn't be a "reason" it is faster to "process" an unsorted or a sorted array. Now if we're given a hint at what the processing is, then we might be able to get further.
- cosarara 7y agoThe full context is in the question: https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array https://stackoverflow.com/questions/11227809/why-is-processi...