3 ms·
Well when working with entities/objects you are not really getting more efficient at the cache level than an array. As seen in this example with array parsing.
by gamebak 12y ago
Well when working with entities/objects you are not really getting more efficient at the cache level than an array. As seen in this example with array parsing.
Make sure to use simple arrays when you want to store some data, it's not just in C but it will work well in other languages as well including javascript, php, python, perl, etc
Because that's how processors algorithms are designed.