Class SharedHybridSet

  • All Implemented Interfaces:
    EqualsSupportingPointsToSet, PointsToSet

    public class SharedHybridSet
    extends PointsToSetInternal
    A shared representation of a points-to set which uses a bit vector + a list of extra elements, an "overflow list", to make adding single elements fast in most cases. The bit vector may be shared by multiple points-to sets, while the overflow list is specific to each points-to set. To facilitate sharing of the bitvectors, there is a "hash table" of all existing bitvectors kept, called BitVectorLookupMap, where the ith element contains a list of all existing bitvectors of cardinality i (i.e. has i one bits).
    Author:
    Adam Richard