-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
Description
BitSet is used in some performance-critical places. We should seal this class so that it only allows FixedBitSet and SparseFixedBitSet as sub-classes, to prevent applications from mistakenly hurting performance by creating other sub-classes that could make call sites of BitSet#get, BitSet#nextSetBit and others polymorphic?