[GHC] #5218: Add unpackCStringLen# to create Strings from string literals

GHC ghc-devs at haskell.org
Tue Aug 2 08:32:56 UTC 2016


#5218: Add unpackCStringLen# to create Strings from string literals
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  thoughtpolice
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.0.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #5877 #10064      |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 The Unarise pass removes unboxed tuple binders and arguments, so it would
 be passed as two separate arguments.

 However, unarise is currently part of SimplStg, so GHCi doesn't get to
 take advantage of it, I don't know how hard that is to change.  Maybe
 @osa1 or @simonpj would know.

 Backwards compatibility is a separate issue, we can always introduce new
 APIs instead of breaking old ones, I doubt there are serious problems
 here.

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


More information about the ghc-tickets mailing list