salvatorecampagna commented on PR #15413:
URL: https://github.com/apache/lucene/pull/15413#issuecomment-3552810875

   I'm making a couple of changes to address a couple of performance issues 
around cardinality computation. The goal is to avoid redundant `cardinality()` 
calls by reusing already-computed counts when we know `maxDoc` and the number 
of deleted documents. This would make the iterator creation more efficient by 
eliminating unnecessary O(n) scans of the bitset during initialization.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to