3 ms·
"So when in doubt or unless you can prove otherwise, prefer SoA to AoS"
by dagw 10y ago
"So when in doubt or unless you can prove otherwise, prefer SoA to AoS"
- sevensor 10y agoWhich is the crux of the situation -- it really depends on the problem domain, and SoA is only the right answer in some contexts. I naively tried to switch some code to SoA and found that I was missing on a lot more of my reads.