[Haskell-cafe] GHC integers pre-allocation

Simon Peyton-Jones simonpj at microsoft.com
Mon Jan 23 04:23:49 EST 2006


I believe that we statically allocate all ASCII chars, and Ints between
-16 and +16.  Have a look in ghc/rts/StgMiscClosures.cmm

 

Simon

 

________________________________

From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Monique Monteiro
Sent: 22 January 2006 23:26
To: haskell-cafe at haskell.org
Subject: [Haskell-cafe] GHC integers pre-allocation

 

Hi all,
   
  does anyone know if GHC implements any kind of pre-allocation of
integers/caracteres ?  If yes, which range of values does it use?

Thanks in advance,

Monique Monteiro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20060123/3821364e/attachment.htm


More information about the Haskell-Cafe mailing list