[squeak-dev] Faster fibonacci

tim Rowledge tim at rowledge.org
Wed Apr 17 20:53:00 UTC 2019



> On 2019-04-17, at 12:38 PM, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
> 
> Let me see...
> For example here in 2011:
> 
> MCHttpRepository
>     location: 'http://www.squeaksource.com/FactorialContest'
>     user: ''
>     password: ''.
Nice, nice !

That does fib(4784969) in 14 seconds on my Pi3, or 5 times faster. Wow. And, er, 4 times faster than the C code version on that github repo :-)

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
"How many Slavers does it take to change a lightbulb?” 
"Dunno. How susceptible are lightbulbs to telepathy?"





More information about the Squeak-dev mailing list