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

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Mar 26 13:33:21 EDT 2009


Hello Don,

Thursday, March 26, 2009, 8:26:18 PM, you wrote:

>>> +RTS -c -F1.1

>> It now requires 386 MB of memory, but is 4.7 times slower.
>>
>> So, now memory required is about the same as the C++ version, but how  
>> can I optimize memory usage without having to tweak the garbage 
>> collector?

> You'll need similar data structures.

can +RTS -A400m be consider as "similar data structure" ? :)


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list