• simonmar's avatar
    [project @ 2001-11-21 10:09:15 by simonmar] · 560bf0f6
    simonmar authored
    Turn the weighted reference count in a StablePtr into a simple counter
    in the stable ptr table.  We never made use of the weighted count, and
    it caused problems when making many StablePtrs to the same object.
    
    In the future we could remove the reference counting altogether and
    just make a new StablePtr each time, rather than attempting to use an
    existing one.  This would save on the hash table lookup at creation
    time.
    560bf0f6
Stable.h 2.25 KB