[GHC] #15642: Improve the worst case performance of weak pointers

GHC ghc-devs at haskell.org
Fri Sep 14 03:15:34 UTC 2018


#15642: Improve the worst case performance of weak pointers
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Runtime System    |              Version:  8.6.1-beta1
      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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 One more challenge: if many `Weak#`s are attached to the same key, we
 still need to be able to remove them from the hash table quickly in case
 of early finalization.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15642#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list