On Thu, Oct 20, 2011 at 11:59 AM, David Barbour <dmbarb...@gmail.com> wrote:
> On Thu, Oct 20, 2011 at 10:38 AM, thomas burt <thedwa...@gmail.com> wrote: > >> Curiously, the times reported for "outside" are about 5-8 times as long. >> > > What is the cost of putStrLn relative to performing `stuffToDo` a few > hundred times? > > I am not sure.... it still takes about 5-8 times longer whether `stuffToDo` recurs a few times, a hunded times, or about a thousand times. Perhaps I will try and force `stuffToDo` not to leave any partially evaluated thunks behind.... and compare the cost then.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe