Skip to content

Comment on On calculating Fibonacci numbers in Cparent

Comments

and only perform any optimizations at all after you have proved its a bottleneck for your application (unlikely) :p

I just thought it was funny the article took a shortcut on speed testing because only 96 values were possible from the function. At that point, we are no longer talking about math or math error, we are talking a simple array lookup.

I get the "less math" part of the article, but it just seemed a bit confused.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.