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

   ### Description
   
   Currently, we are using `maxDoc >>> 7` as the default threshold before 
upgrading to BitSet. I am wondering if there is more optimal way of determining 
the right threshold.
   
   The memory cost of `FixedBitSet` is always known, and we can get the 
selectivity from `(# docs in buffer)/(maxDoc in buffer)` so far. If the 
selectivity is high, consider upgrading to `FixedBitSet` earlier, else should 
delay the upgrade.


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