Shérab wrote: > > and get some memory profiles. > > http://book.realworldhaskell.org/read/profiling-and-optimization.html > > Thanks for the usefullink. > I'm including below cabal.prof > I also tried with a 100M stack: the program does not return, I > interrupted it after severalminutes... > > If other memory profiles could help please do not hesitate to let me > know.
> COST CENTRE MODULE no. entries %time > %alloc %time %alloc > > MAIN MAIN 250 0 100.0 > 100.0 100.0 100.0 > CAF Main 499 0 0.0 > 0.0 0.0 0.0 Weird.. 100% used in MAIN but 0% in Main and everything else? Does not make sense to me. I'd go for the type profiling (+RTS -hy -p) -- see shy jo
signature.asc
Description: Digital signature