fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 8 months agoExplain yourselves, comp sci.mander.xyzimagemessage-square46fedilinkarrow-up1503
arrow-up1503imageExplain yourselves, comp sci.mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 8 months agomessage-square46fedilink
minus-squareKilling_Spark@feddit.delinkfedilinkEnglisharrow-up15·8 months agoContiguous storage is very fast in terms of iteration though often offsetting the cost of allocation
minus-squareSlotos@feddit.nllinkfedilinkEnglisharrow-up7·8 months agoModern CPUs are also extremely efficient at dealing with contiguous data structures. Branch prediction and caching get to shine on them. Avoiding memory access or helping CPU access it all upfront switches physical domain of computation.
Contiguous storage is very fast in terms of iteration though often offsetting the cost of allocation
Modern CPUs are also extremely efficient at dealing with contiguous data structures. Branch prediction and caching get to shine on them.
Avoiding memory access or helping CPU access it all upfront switches physical domain of computation.