[Haskell-cafe] Re: Shootout summary

Donald Bruce Stewart dons at cse.unsw.edu.au
Sat Jan 7 02:33:15 EST 2006

> This pidigit program is not mine, but original authors of algorithm.
> I've just added print function. It is idiomatic Haskell, pi is pure function
> that generates inifinite list of digits, and on two machinas I've
> tested p4 2.4 ghz and amd athlon 64 3000 it's about some
> small percentage ( 5%) faster then one submited for benchmark.
> Who knows on test machines could be some percentage slower,
> but what is important is that it is not optimised in any way
> and does not use monads, but is very fast.

Yes, it's quite interesting that it performs so well, with only a little
wrapping code.


More information about the Haskell-Cafe mailing list