jpountz opened a new issue, #15038:
URL: https://github.com/apache/lucene/issues/15038

   ### 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?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to