[GHC] #15366: GHC.Conc.Windows has a surprising queue
GHC
ghc-devs at haskell.org
Thu Jul 12 00:16:16 UTC 2018
#15366: GHC.Conc.Windows has a surprising queue
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.8.1
Component: Core | Version: 8.4.3
Libraries |
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:
-------------------------------------+-------------------------------------
`GHC.Conc.Windows` seems to use `[DelayReq]` as a priority queue, and uses
`foldr` to insert multiple elements into it. Unless these lists are always
very short (are they?) that seems like a bad idea.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15366>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list