[GHC] #605: Optimisation: strict enumerations

GHC cvs-ghc at haskell.org
Tue Feb 1 11:41:28 CET 2011


#605: Optimisation: strict enumerations
--------------------------------------+-------------------------------------
  Reporter:  simonmar                 |          Owner:                  
      Type:  task                     |         Status:  new             
  Priority:  normal                   |      Milestone:  _|_             
 Component:  Compiler                 |        Version:  None            
Resolution:  None                     |       Keywords:                  
  Testcase:  N/A                      |      Blockedby:                  
Difficulty:  Difficult (2-5 days)     |             Os:  Unknown/Multiple
  Blocking:                           |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------

Comment(by rl):

 I think there is actually a subtle difference between #4936 and this
 ticket. #4936 proposes to represent enumerations as Int which would indeed
 make boxed enumeration values bigger. This ticket proposes to keep the
 representation of boxed values as it is now but to unbox them to Int# when
 possible. This seems more efficient.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/605#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list