|
|
|
|
|
by patrec
1296 days ago
|
|
> The latency of accessing memory is not a function of N. How could it not be, given that any physical medium has finite information density, and information cannot propagate faster than the speed of light? And on a practical computer the size of N will determine if you can do all your lookups from registers, L1-L3, or main RAM (plus SSD, unless you disable paging). |
|
You could have a tape of infinite length, and if you only ever request "the next one" then clearly the latency is constant.
> And on a practical computer the size of N ...
Don't be silly. N is the size of the input set, not the size of the universe.