
31 Mar
2008
31 Mar
'08
11:55 a.m.
Hello Bruno, Monday, March 31, 2008, 7:51:43 PM, you wrote:
I've written the following program... Which does not end in a reasonable time :( My algorithm seems ok to me but I see that memory consumption is gigantic... Is this a memory problem with Data.Map ? Or an infinite loop ? (Where ?) In a more general way, how can I troubleshoot these kind of problem ?
first step is to reduce n and see whether program will finish and how memreqs depends on value of n
main = let n = 1000000
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com