Savant & CodeResistor
Savant Savant
Hey, have you ever wondered how the Fibonacci sequence might line up with cache line boundaries and affect pipeline stalls?
CodeResistor CodeResistor
Sure, but only if you can keep it in a single line of code, not a lecture on theory. Cache lines are a low‑level detail, Fibonacci is a math sequence—just hope your compiler's branch predictor doesn’t get jealous.
Savant Savant
for(int i=0,a=0,b=1;i<10;i++){int c=a+b;a=b;b=c;printf("%d ",a);}