
3 Mar
2009
3 Mar
'09
12:22 a.m.
Manlio Perillo ha scritto:
Manlio Perillo ha scritto:
[...] I have executed the program, using the same RTS flags as yours:
real 6m13.523s user 0m53.931s sys 0m7.812s
815 MB usage
This is an huge improvement!
Using UArray and empty + insert: real 5m40.732s user 0m58.620s sys 0m7.264s 660 MB usage Using singleton + union, memory usage is the same: 657 MB So, now: 1) I don't understand why using uvector leaks memory. I'm using the latest version found on Hackage. 2) Why your version of code, using singleton + union, consumes more memory.
[...]
Regards Manlio Perillo