You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// $CLANG -Os compressed.cpp
struct info {
info();
int length;
};
struct tile {
void init();
int num_steps;
info *step_info;
float *coefficients, *coefficients_flipped;
};
void tile::init() {
int i, j;
new info[num_steps];
for (i = 0, j = 0; j < num_steps; j++)
i += step_info[j].length;
coefficients_flipped = new float[i];
for (; 0 < num_steps;)
for (int k = 0;; k++)
coefficients_flipped[k] = coefficients[-k];
}