
#11795: Performance issues with replicateM_ -------------------------------------+------------------------------------- Reporter: snoyberg | Owner: snoyberg Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.10.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Michael, this is (sadly) a well known issue. #1168 has a list of related tickets, and #9388 has ideas and preliminary work on how to limit the scope of the hack. I think it'd be fine to switch implementations of `replicateM_`, but can you put a prominent notice on the master ticket #1168 so that whoever looks into it doesn't think "oh the problem has gone away". Your fix will (helpfully) cure the symptom but not the disease. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11795#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler