3 ms·
Another thing somewhat related to that is the branch prediction: https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-proce
by nzach 3y ago
Another thing somewhat related to that is the branch prediction: 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...
And there is also the cache prefetching that is pretty interesting: https://en.wikipedia.org/wiki/Cache_prefetching https://en.wikipedia.org/wiki/Cache_prefetching