[GHC] #11707: Don't desugar large lists with build

GHC ghc-devs at haskell.org
Mon Mar 14 14:48:32 UTC 2016


#11707: Don't desugar large lists with build
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Runtime
  Unknown/Multiple                   |  performance bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 When looking at `T9661` I noticed that a massive list was being inlined
 into `listArray`, where foldr/build was being applied, turning a bunch of
 massive static data into a massive block of code.

 It seems likely that keeping this as static data would be preferable here.

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


More information about the ghc-tickets mailing list