Multiplying lists of vectors - SoA vs AoS vs interlaced array (version: 4)
What's the fastest way to process a list of vectors? Do you go the OO route, with an array of Vector() objects? Do you create a new data structure, using Float32Arrays for x, y, and z? Do you create a single Float32Array and interlace values for x, y, and z within it? Let's find out!
Comparing performance of: AoS vs SoA vs Interlaced Array - no loop unrolling vs Interlaced Array - with loop unrolling vs SoA - one component per loop