> 9. Deforestation: Brian says "Haskell has introduced a very interesting and > (to my knowledge) unique layer of optimization, called deforrestation". > True, of course, but useless theoretical piffle because we know that > Haskell is slow in practice and prohibitively difficult to optimize > to-boot. Deforesting is really easy to do by hand.
Yet, if you look at things in the light of "optimization is depessimization", you'd much rather have easier to read code, than code which is ugly because you preoptimized it by hand. This is why, for me, Ocaml has a long way to go to make it useful for run-of-the-mill production code. My pet peev is performance penalty paid for writing in functional style where it actually makes sense -- say passing an arithmetic operator to a map-style function. Cheers, Kuba _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs