storing highly shared data structures
Christian Maeder
maeder at tzi.de
Mon Jan 9 11:19:20 EST 2006
Bulat Ziganshin wrote:
> CM> My old version is faster, because the version with makeStableName does
> CM> very much GC.
>
> CM> MUT time 27.28s ( 28.91s elapsed)
> CM> GC time 133.98s (140.08s elapsed)
>
> try to add infamous "+RTS -A10m" switch ;)
You saved my day, thank you Bulat!
Without that flag:
MUT time 24.30s ( 24.76s elapsed)
GC time 131.25s (140.01s elapsed)
EXIT time 0.00s ( 0.00s elapsed)
Total time 155.55s (164.77s elapsed)
And with it:
MUT time 23.86s ( 24.86s elapsed)
GC time 11.03s ( 11.68s elapsed)
EXIT time 0.00s ( 0.00s elapsed)
Total time 34.89s ( 36.54s elapsed)
More information about the Glasgow-haskell-users
mailing list