Jan. 11th, 2018

izard: (Default)
Here is a simple pseudocode:
function f(array_A)
{
  SoA = transform1(A);
  for i=0 to 4
    array_B=load_array_from_SoA(SoA, i);
    array_C=transform2(array_B);
    array_D+=transform3(array_C);
  return transform4(array_D);
}

SoA is a structure of arrays.
transform functions take an array, make a lot of calculations, return transformed array.
Baseline performance: let's say 200 seconds.
Read more... )

Profile

izard: (Default)
izard

September 2025

S M T W T F S
 1 23456
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 3rd, 2025 12:30 am
Powered by Dreamwidth Studios