[GHC] #16190: Speed up handling of large String literals

GHC ghc-devs at haskell.org
Wed Jan 16 10:34:47 UTC 2019


#16190: Speed up handling of large String literals
-------------------------------------+-------------------------------------
        Reporter:  hsyl20            |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hsyl20):

 > Do you really need a separate binary file? That seems a bit
 complicated... Can't you just have literal data in the assembly file?

 Part of the optimization is to avoid ending up with binary data in textual
 form in a source file (e.g. assembly file). It's not complicated, GHC
 already has all the machinery to do it (addTempFile, addForeignFilePath,
 etc.). It should be worth trying in my opinion.

 > Would any of these get fixed?

 As far as I know, no.

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


More information about the ghc-tickets mailing list