[Haskell-cafe] g++ std:map vs GHC IntMap

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Mar 26 12:29:23 EDT 2009


On 2009 Mar 26, at 11:39, Manlio Perillo wrote:
> The execution time and CPU usage is almost the same.
> However the C++ version requires 305 MB, the GHC version 617 MB.

I wonder how much of that is due to lifting (i.e. laziness).

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090326/0ab4472e/PGP.bin


More information about the Haskell-Cafe mailing list