You need to use a programming language like C++ to be able to this. In JavaScript, all objects are pointers, so there's no way to do this.
Google "data-oriented design" to learn more.
You need to use a programming language like C++ to be able to this. In JavaScript, all objects are pointers, so there's no way to do this.
Google "data-oriented design" to learn more.