3 ms·
One of the big problems with fancy algorithms is that they either access data out of order and/or do pointer chasing. Simple algorithms tend to access the data
by RcouF1uZ4gsC 6y ago
One of the big problems with fancy algorithms is that they either access data out of order and/or do pointer chasing. Simple algorithms tend to access the data in order.
CPU's have a lot of logic for making in order data access very fast.