Skip to content

Conversation

@benwtrent
Copy link
Member

We are unnecessarily calling BitSet.cardinality more than once when returning the cost from AcceptDocs.

@benwtrent benwtrent added this to the 10.4.0 milestone Oct 20, 2025
@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

Copy link
Contributor

@kaivalnp kaivalnp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me!

@benwtrent benwtrent merged commit 78dd964 into apache:main Oct 21, 2025
12 checks passed
@benwtrent benwtrent deleted the accept-docs-cost-opt branch October 21, 2025 10:57
benwtrent added a commit that referenced this pull request Oct 21, 2025
* Use cached cardinality for AcceptDocs cost

* adding changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants