|
|
|
|
|
by sroussey
1150 days ago
|
|
I can see the need for memory management for a game. There are other things, also graphics related like map points or point clouds. You are more likely to a struct of arrays than an array of structs/objects as well. Very handy in C but also JS. I suppose you can use a sliding window object (or “fly” object) that pretends to be the object when the data is really split across various arrays, just don’t actually loop over them. ;) I bet someone has done a library for something this way and used proxies. |
|