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

Comments

Popular posts from this blog

Hibernate Search - Elasticsearch with JSON manipulation

Today Walkin 14th-Sept

Spring Elasticsearch Operations