[GHC] #8876: Add inline version of newByteArray#
#8876: Add inline version of newByteArray# ------------------------------------+------------------------------------- Reporter: tibbe | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- This is the equivalent of #5925 for `ByteArray#`s. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8876> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8876: Add inline version of newByteArray# -------------------------------------+------------------------------------ Reporter: tibbe | Owner: Type: feature request | Status: patch 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: -------------------------------------+------------------------------------ Changes (by tibbe): * status: new => patch -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8876#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8876: Add inline version of newByteArray# -------------------------------------+------------------------------------ Reporter: tibbe | Owner: simonmar Type: feature request | Status: patch 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: -------------------------------------+------------------------------------ Changes (by tibbe): * owner: => simonmar -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8876#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8876: Add inline version of newByteArray# -------------------------------------+------------------------------------ Reporter: tibbe | Owner: simonmar Type: feature request | Status: patch 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 tibbe): Validates for me on 64-bit OS X. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8876#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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: -------------------------------------+------------------------------------ Changes (by simonmar): * owner: simonmar => * status: patch => new Comment: LGTM! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8876#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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
#8876: Add inline version of newByteArray# -------------------------------------+------------------------------------ Reporter: tibbe | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by tibbe): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8876#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC