Hello Manlio, Tuesday, March 3, 2009, 1:10:48 PM, you wrote:
> It *is* a problem with IntMap. > I have changed the program to not use any array concatenation, and it > still requires a lot of memory. it may be problem with something else. in particular, check that you don't have lazy thunks stored instead of values > Does esist a data structure that is able to store something like 480189 > keys with efficient memory usage? data.hashtable. at least, i can calculate its memory usage - it should be less than 100 bytes per key even with collecting GC. plus memory required for values ...but intmap should be the same. i still think that you have unforced thunks stored in map -- Best regards, Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe