
19 Oct
2006
19 Oct
'06
9:19 a.m.
Hello Ketil, Thursday, October 19, 2006, 11:05:48 AM, you wrote:
One thing that IME makes a difference is -funbox-strict-fields. It's probably better to use pragmas for this, though. Another thing to consider is garbage collection RTS flags, those can sometimes make a big difference.
yes, it's better to unbox individual fields. i had a program where this flag leads to significant memory usage increase. smth like this: data T1 = T1 ... -- many fields data T2 = T2 !T1 !T1 !T1 make t1 = T2 t1 t1 t1 -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com