• Chris Toshok's avatar
    use a ContiguousMap instead of a stringmap -> HiddenClass · 527289ad
    Chris Toshok authored
    when looking up a child hidden class we look up the attr in the child_index map,
    then get the HiddenClass* from the children vector (at that index.)
    
    this speeds up GC substantially by letting us visit the range from the vector as
    opposed to iterating through the stringmap.
    527289ad
collector.cpp 10.7 KB