Arrays are more performant than objects
Integer arrays are fastest
Prefer looping forwards through an array. Backwards breaks most caching.
Try to keep array sizes the same. Pushing/growing an array is not performant.