Skip to main content
Make sure readers understand.
Source Link
Vaillancourt
  • 16.4k
  • 17
  • 55
  • 61

In general, approach B is actually faster since it can be cached and vectoried more efficiently using SoAStructs of Arrays (SoA) / Arrays of Structs of Arrays (AoSoA), which you probably should be using anyway.

In general, approach B is actually faster since it can be cached and vectoried more efficiently using SoA/AoSoA, which you probably should be using anyway.

In general, approach B is actually faster since it can be cached and vectoried more efficiently using Structs of Arrays (SoA) / Arrays of Structs of Arrays (AoSoA), which you probably should be using anyway.

Source Link

In general, approach B is actually faster since it can be cached and vectoried more efficiently using SoA/AoSoA, which you probably should be using anyway.