|
|
|
|
|
by jancsika
2555 days ago
|
|
> Pretend we have nicely-acting linear address space. I feel like the prevalence of linked lists in discussions wrt pointers is proof that nobody is understanding these analogies. At least there should be some regular pushback from beginners who conceptualize the linear addy space and say, "Hey, what is the distance between this item and the one I just inserted into the list?" Or, "Does it take time to jump around among all these links?" Edit: And, "How does the time moving among links compare to the time iterating over an array?" |
|