[Haskell-cafe] In-place modification
igouy2 at yahoo.com
Mon Jul 16 16:29:26 EDT 2007
On Jul 15, 1:25 pm, "Hugh Perkins" <hughperk... at gmail.com> wrote:
> > or maybe 'pidigits', a lazy pi generator,
> This is I/O bound, which isnt interesting, unless you really want to
> benchmark I/O to console?
a) output is redirected to /dev/null - read the FAQ
b) the I/O is cheap
Console.Write (digits.Next ());
~0.15s down from ~12.8s
Got a little couch potato?
Check out fun summer activities for kids.
More information about the Haskell-Cafe