fossilesqueM to Science MemesEnglish · 1 year agoExplain yourselves, comp sci.imagemessage-square71fedilinkarrow-up1522arrow-down117
arrow-up1505arrow-down1imageExplain yourselves, comp sci.fossilesqueM to Science MemesEnglish · 1 year agomessage-square71fedilink
minus-squareKilling_Spark@feddit.delinkfedilinkEnglisharrow-up15·1 year agoContiguous storage is very fast in terms of iteration though often offsetting the cost of allocation
minus-squareSlotos@feddit.nllinkfedilinkEnglisharrow-up7·1 year 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.