[Haskell-cafe] Newbie question about tuples

Donald Bruce Stewart dons at cse.unsw.edu.au
Fri Jul 13 22:01:21 EDT 2007


bulat.ziganshin:
> Hello peterv,
> 
> Friday, July 13, 2007, 5:03:00 PM, you wrote:
> 
> > think the latest compilers are much better). Now when implementing something
> > like this in Haskell, I would guess that its laziness would allow to
> > "interleave" many of the math operations, reordering them to be as optimal
> > as possible, removing many intermediate results (like processing streams).
> 
> don't forget that laziness by itself makes programs an orders of
> magnitude slower :)
> 

Or orders of magnitude faster, depending on your data structure. :)

-- Don


More information about the Haskell-Cafe mailing list