@[email protected]M to Science [email protected]English • 7 months agoExplain yourselves, comp sci.mander.xyzimagemessage-square69fedilinkarrow-up1505arrow-down116
arrow-up1489arrow-down1imageExplain yourselves, comp sci.mander.xyz@[email protected]M to Science [email protected]English • 7 months agomessage-square69fedilink
minus-square@[email protected]linkfedilinkEnglish15•7 months agoContiguous storage is very fast in terms of iteration though often offsetting the cost of allocation
minus-square@[email protected]linkfedilinkEnglish7•7 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.