16 Jul
2007
16 Jul
'07
4:24 a.m.
On 7/15/07, Donald Bruce Stewart <dons@cse.unsw.edu.au> wrote:
or maybe 'pidigits', a lazy pi generator,
http://shootout.alioth.debian.org/gp4/benchmark.php?test=pidigits&lang=ghc&i...
This is I/O bound, which isnt interesting, unless you really want to benchmark I/O to console? We can improve it by instead of printing the digits to I/O, returning the number of occurrences of a specific digit, let's say 3.