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

GHC ghc-devs at haskell.org
Sat Aug 6 10:57:00 UTC 2016


#5218: Add unpackCStringLen# to create Strings from string literals
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  thoughtpolice
            Type:  feature request   |               Status:  patch
        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):  D2443
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by jscholl):

 * status:  new => patch
 * differential:   => D2443


Comment:

 I uploaded a diff which includes my changes. I tried to integrate
 unrolling the unboxed tuples in the bytecode generator now, which seems to
 work, but may miss some cases.

 There may be some points which could be done in a better way, so feel free
 to point them out and I will change them.

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


More information about the ghc-tickets mailing list