Re: [PR] Fix optimization to help inline calls to live docs. [lucene]

2025-02-27 Thread via GitHub
jpountz merged PR #14294: URL: https://github.com/apache/lucene/pull/14294 -- 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.apa

Re: [PR] Fix optimization to help inline calls to live docs. [lucene]

2025-02-26 Thread via GitHub
jpountz commented on code in PR #14294: URL: https://github.com/apache/lucene/pull/14294#discussion_r1971606728 ## lucene/core/src/java/org/apache/lucene/search/ScorerUtil.java: ## @@ -113,22 +116,21 @@ static Scorable likelyTermScorer(Scorable scorable) { /** * Optimiz

Re: [PR] Fix optimization to help inline calls to live docs. [lucene]

2025-02-25 Thread via GitHub
gf2121 commented on code in PR #14294: URL: https://github.com/apache/lucene/pull/14294#discussion_r1971084748 ## lucene/core/src/java/org/apache/lucene/search/ScorerUtil.java: ## @@ -113,22 +116,21 @@ static Scorable likelyTermScorer(Scorable scorable) { /** * Optimize

[PR] Fix optimization to help inline calls to live docs. [lucene]

2025-02-25 Thread via GitHub
jpountz opened a new pull request, #14294: URL: https://github.com/apache/lucene/pull/14294 While doing benchmarks on indexes with deletions, I found a bug in `ScorerUtil`, which optimizes live docs for the wrong class: `FixedBitSet` instead of `FixedBit`. Another performance bug is that `F