2 ms·
Consider instruction cache locality as well. That system will run sequentially running the same code for all entities that need it, and is likely to all stay c
by cma 8y ago
Consider instruction cache locality as well. That system will run sequentially running the same code for all entities that need it, and is likely to all stay cached.
Whereas if you tick each entity separately and run all the logic, each new entity tick is following on to so much unique code having run that it is probably starting all over on uncached instruction fetches.