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

2009-03-26 Thread Bulat Ziganshin
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 >> collect

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

2009-03-26 Thread Bulat Ziganshin
Hello Manlio, Thursday, March 26, 2009, 8:17:03 PM, you wrote: > 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? C++ doesn't use GC so why you compare? -- Best regards, Bulat