[GHC] #8876: Add inline version of newByteArray#

GHC ghc-devs at haskell.org
Thu Mar 13 23:02:00 UTC 2014


#8876: Add inline version of newByteArray#
-------------------------------------+------------------------------------
        Reporter:  tibbe             |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Johan Tibell <johan.tibell@…>):

 In [changeset:"210ccabc9489bfbf814939e8b45646c8d0c7ce5f/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="210ccabc9489bfbf814939e8b45646c8d0c7ce5f"
 codeGen: allocate small byte arrays of statically known size inline

 This results in a 57% runtime decrease when allocating an array of 128
 bytes on a 64-bit machine.

 Fixes #8876.
 }}}

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


More information about the ghc-tickets mailing list