viliam-durina opened a new pull request, #15582: URL: https://github.com/apache/lucene/pull/15582
In two instances, `FixedBitSet.ensureCapacity()` was called right before the bitset was cleared. This unnecessarily copied the internal array. This PR adds `FixedBitSet.ensureCapacityAndClear()` that avoids the copying. This should give a small performance improvement. -- 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]
