Re:Writing memory efficient C structs
by munksbeer on Friday August 01, 2025 @03:49PM
(#44761567)
So, in option two, you'd be using SoA with a
which is the value that would be updated by healthEntity.updateHealth() ? So because you're sequentially updating only that attribute it should lend itself to being cache friendly and potentially prefetch prediction? (can't remember the term)
[ Parent
| on HN ]