[Haskell-cafe] help optimizing memory usage for a program

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Mar 2 15:18:01 EST 2009


Hello Kenneth,

Monday, March 2, 2009, 11:14:27 PM, you wrote:

> I think my approach is turning out better because I'm:

> - building up the IntMap using 'empty' and 'insert', instead of  
> combining 17,770 'singleton' IntMaps
>    (which probably results better GC behavior)

i don't read into details, but may be it will be better to use
sort-and-group approach? OTOH, this makes interesting usecase for
mapreduce technologies



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



More information about the Haskell-Cafe mailing list