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

GHC ghc-devs at haskell.org
Thu Jan 17 10:48:38 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 simonpj):

 What does "no optimisation" and "threshold 100" mean?  I though if
 "threshold 100" means that if a literal is > 100 bytes then it is put in
 the extra file, then every single line will do that, so the threshold is
 irrelevant.

 I wonder why it every slows down?  Just the extra file handling?

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


More information about the ghc-tickets mailing list