On Jul 15, 1:25 pm, "Hugh Perkins" <[EMAIL PROTECTED]> 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

delete
   PiDigitSpigot class
and change
   Console.Write (digits.Next ());
to
   Console.Write (1);

~0.15s down from ~12.8s 


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to