a faster, accumulating mapM (was Re: [Haskell-cafe] mapM vs mapM_ performance)

Chaddaï Fouché chaddai.fouche at gmail.com
Fri Apr 25 16:30:20 EDT 2008

2008/4/25, Niklas Broberg <niklas.broberg at gmail.com>:
> Wow. A 10x slowdown for a very commonly used function that in 99.8% of
>  all use cases has no need for the extra laziness at all. No wonder
>  some people say Haskell is a toy language...

A toy language that is still much faster than many currently popular
languages so... Is Ruby/Python/... a toy too ?

Still these numbers seems odd, there's probably something that don't
optimize very well here.


More information about the Haskell-Cafe mailing list