[Haskell-cafe] Where does memory go?

Bulat Ziganshin bulatz at HotPOP.com
Sun Jan 8 15:14:18 EST 2006


Hello Joel,

Sunday, January 08, 2006, 8:01:00 PM, you wrote:

JR> I compiled a simple one-liner: main = print "Blah".

JR>        5,620 bytes allocated in the heap

again, see at the GHC.Handle and so on :) try to find "print"
definition and manually substitute all the code generated by this
line. btw, one time i seen 15k raised (stripped) exefile just after
adding one line of code to Haskell app

-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list