2020-10-28

linked lists vs arrays: which is more contiguous in physical memory? [closed]

Arrays are not necessarily contiguous in physical memory, though they are contiguous in virtual address space. But can it be said that the "tidiness" of arrays in physical memory is significantly higher compared to linked lists? So, which is a better option for a cache-friendly program?



from Recent Questions - Stack Overflow https://ift.tt/3mte2sv
https://ift.tt/eA8V8J

No comments:

Post a Comment