Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Computers are much faster when they operate on things that are laid-out contiguously in memory, instead of jumping around following pointers.

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: