
#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): Phab:D2086 Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Great. So it inlines bodily, and specialises to the particular call site. That is precisely what I speculated in my Phab comment. So yes, it'd good to make a Note in the code which says what my comment says, and points to this ticket for more detail. I've learned that it's extremely helpful leaving breadcrumbs like this in the code, so the next time someone is fiddling with that code, they do so in the light of earlier learning. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11795#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler