3 ms·
It used to be true in the past. Back then, processors were slower, and they had no cache, since the processor and memory speeds were roughly matched. A few inte
by cesarb 10y ago
It used to be true in the past. Back then, processors were slower, and they had no cache, since the processor and memory speeds were roughly matched. A few integer multiplications would be enough to cost more than a single memory access.
It should still hold true today for small embedded processors with slow arithmetic and no cache.
- beached_whale 10y agoThey often lack ram too, so that const lookup table could be sitting on flash.