[Haskell-cafe] Data.Array.Storable vs GC

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Nov 25 08:51:19 EST 2008


Hello David,

Tuesday, November 25, 2008, 4:45:28 PM, you wrote:

> However, I am getting very poor performance due to the GC copying 6G in
> each run.  The only explanation that I can think of is that it is
> copying my giant array.

each GC run? each program run?

try to increase size of your array and check how many data are now
copied by GC (of course, everything else shouldn't be changed)

it's possible that your code that fills an array creates a lot of
intermediate data

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



More information about the Haskell-Cafe mailing list