in reply to Re: Fibonacci golf with one state variable
in thread Fibonacci golf with one state variable
Hey that's neat! Of course the memory usage is far from constant, but great idea. Good use of say to save a few.
Only nitpicks are that you do have explicit initialisation and the first output is zero which is not quite right. Oddly, I get no output unless I tweak it to print to STDERR which is some strange buffering difference - no idea why.
++ for thinking laterally :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Fibonacci golf with one state variable
by JavaFan (Canon) on Oct 05, 2008 at 13:21 UTC | |
by aufflick (Deacon) on Oct 06, 2008 at 03:13 UTC |