data oriented programming
write code for the cpu.
organize structs so that the natural alignment is minimised. use indexes instead of pointers. struct of arrays. store booleans as separate lists instead. store sparse data in hash maps.
write code for the cpu.
organize structs so that the natural alignment is minimised. use indexes instead of pointers. struct of arrays. store booleans as separate lists instead. store sparse data in hash maps.