On Nov 27, 2009, at 23:18 , vishnu wrote:
hmm ok I understand the issue of compiler maturity. But I thought lazyness was meant to be a bonus? Or is it that if you really try to squeeze performance it becomes more of a hindrance?


If you're trying to eke out every last bit of performance, you need precise control over laziness vs. strictness, as each is an advantage in different contexts. Ideally ghc's strictness analyzer would do it for you, but it isn't quite good enough yet, so you can end up writing ugly code to get that precise control.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [email protected]
system administrator [openafs,heimdal,too many hats] [email protected]
electrical and computer engineering, carnegie mellon university    KF8NH


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to