3 ms·
And is faster than SBCL.
by matrix12 3y ago
And is faster than SBCL.
- schemescape 3y agoSource? (A quick search turned up nothing for me)
- matrix12 3y agohttps://github.com/drujensen/fib https://github.com/drujensen/fib sbcl on my mac m1 gets 21s Gerbil gets 16s Minor Gerbil version as an example. (export main) (def (fib n) (if (fx<= n 1) n (+ (fib (fx- n 1)) (fib (fx- n 2))))) (def (main) (display (fib 47)) (newline)) Compiled with gxc -O -exe -o gerbil.fib Similar results on x86_64