jpountz commented on PR #14968: URL: https://github.com/apache/lucene/pull/14968#issuecomment-3113761945
FWIW I suspect that the speedup to tasks such as `FilteredAndStopWords` is not an actual speedup, but a side-effect of the fact that we only every wrap `RandomQuery` within a `ConstantScoreQuery`. So specializing `ConstantScoreQuery#applyAsRequiredClause` makes some calls monomorphic, while they map be polymorphic in production systems where `ConstantScoreQuery` is used to wrap `TermQuery` and many other queries. -- 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 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