[GHC] #10830: maximumBy has a space leak
GHC
ghc-devs at haskell.org
Wed Jan 25 07:37:58 UTC 2017
#10830: maximumBy has a space leak
-------------------------------------+-------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: patch
Priority: high | Milestone: 8.2.1
Component: Core Libraries | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1205,
Wiki Page: | Phab:D3109
-------------------------------------+-------------------------------------
Comment (by dalaing):
I'm not sticking my hand up to dive into the depths of this, but I made
the change from `foldr1` to `foldl1` and run a validate in case that's
what people want for the time being.
Feel free to knock the patch on the head if folks want to go for a deeper
/ more involved approached.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10830#comment:30>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list