[GHC] #9400: poor performance when compiling modules with many Text literals at -O1

GHC ghc-devs at haskell.org
Tue Sep 16 12:59:22 UTC 2014


#9400: poor performance when compiling modules with many Text literals at -O1
-------------------------------------+-------------------------------------
              Reporter:  rwbarton    |            Owner:  xnyhps
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Compile-    |       Blocked By:
  time performance bug               |  Related Tickets:  #9370
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D199   |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"fe9f7e40844802443315ef2238c4cdefda756b62/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fe9f7e40844802443315ef2238c4cdefda756b62"
 Remove special casing of singleton strings, split all strings.

 Summary:
 exprIsConApp_maybe now detects string literals and correctly
 splits them. This means case-statemnts on string literals can
 now push the literal into the cases.

 fix trac issue #9400

 Test Plan: validate

 Reviewers: austin, simonpj

 Reviewed By: austin, simonpj

 Subscribers: simonmar, ezyang, carter

 Differential Revision: https://phabricator.haskell.org/D199

 GHC Trac Issues: #9400
 }}}

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


More information about the ghc-tickets mailing list