shubhamvishu commented on issue #15561: URL: https://github.com/apache/lucene/issues/15561#issuecomment-3761836574
> Either we should have something called "approximate cost" and it's cheap and keep cost or switch the implementation to not fully realize the bitset @benwtrent I see! So you're suggesting we use `iterator.cost()` in `#cost` to get a cheaper (though approximate) estimate, and defer realizing the bitset until `#bits` is called? That tradeoff makes sense to me, it keeps cost checks lightweight for users. -- 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]
