3 ms·
Memory access patterns are everything. Memory delay is almost always the bottleneck anyway. I have the feeling that more and more this is becoming common knowle
by bruce343434 2y ago
Memory access patterns are everything. Memory delay is almost always the bottleneck anyway. I have the feeling that more and more this is becoming common knowledge, and techniques like "struct of arrays" are becoming more wide spread and talked about.
- willvarfar 2y agoIs this perhaps why Build Engine used arrays, rather than arrays of struct? Organising things columnwise rather than rowwise, like an OLAP engine? https://fabiensanglard.net/duke3d/code_legacy.php https://fabiensanglard.net/duke3d/code_legacy.php
- TsiCClawOfLight 2y agoYes. We learned that pattern in University, it is usually worth it unless in a high-level language.