2 ms·
Here's an even simpler one: double lookup. Fetch a block of memory at the address stored in this memory address (which I may not have fetched already). Our da
by hinkley 10y ago
Here's an even simpler one: double lookup. Fetch a block of memory at the address stored in this memory address (which I may not have fetched already).
Our data hierarchies create graphs that have lots of internal pointers in them, and we are constantly warned about the cost of pointer indirections. Memory already knows how to deal with addresses. Teaching it to chase pointers should be easier than teaching it Boolean math.
[edit: it appears the real limitation to both our ideas is that virtual memory prevents you from making any decisions on the wrong side of the MMU. You could only ever make conditional fetches from the same page, which could be slightly useful but would be so hard to use I don't know who would bother]
- dom0 10y agoThis does not work, because the latency of accessing memory is inherent to it. It's simply the time required to open a DRAM row (or charge bit lines), which stays more or less the same independent of process scaling. Moving the pointer chasing closer to the memory does not change this larger delay.