A detailed walkthrough of implementing cache-friendly state management in C++ using "large arrays of things" instead of traditional object-oriented hierarchies. The approach replaces pointers with indices, uses intrusive linked lists embedded within structs, and maintains a single flat array to avoid memory fragmentation. Key
•2h 21m watch time
1 Comment
Sort: