[GHC] #9848: List.all does not fuse
GHC
ghc-devs at haskell.org
Sun Aug 2 09:32:26 UTC 2015
#9848: List.all does not fuse
-------------------------------------+-------------------------------------
Reporter: klapaucius | Owner: ekmett
Type: bug | Status: new
Priority: normal | Milestone:
Component: Core Libraries | Version: 7.9
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by nomeata):
> Should I add a performance test?
Yes. Usually with list fusion you can create a test that allocates almost
nothing if fusion kicks in, but allocates a lot of it does not.
Alternatively, you can copy the code from
http://hackage.haskell.org/package/list-fusion-probe-0.1.0.3/docs/src
/Data-List-Fusion-Probe.html into the test case and wrap the argument to
`all` with `fuseThis`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9848#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list