Game programmers love this trick too, and for the same reasons: you’re typically not doing elaborate computations to small amounts of data, you’re doing simple computations (position updates, distance comparisons, &c) with large amounts of data. Paring away unnecessary memory transfers is a big part of how to make that kind of computation go fast.
Game programmers love this trick too, and for the same reasons: you’re typically not doing elaborate computations to small amounts of data, you’re doing simple computations (position updates, distance comparisons, &c) with large amounts of data. Paring away unnecessary memory transfers is a big part of how to make that kind of computation go fast.