uschindler commented on PR #12268: URL: https://github.com/apache/lucene/pull/12268#issuecomment-1536490875
To me this looks like a good idea. What do other think? Pro: - Cleaner code when you want to reuse an already existing BitSet instance - Faster in some cases Cons: - Additional method to be implemented (no longer needed as a default impl exists) - We could also just modify ` SparseFixedBitset#clear(start, end)` to check start/end and use Arrays.fill() if `start==0 && end==length` -- 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]
