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

November 2025

S M T W T F S
       1
2345678
910 1112131415
1617 1819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 26th, 2025 12:56 am
Powered by Dreamwidth Studios