Skip to content

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Sep 5, 2025

This applies the same change as #14979 to two more prefix sums. I was not able to measure speedups (or slowdowns) with luceneutil, but I think it's still better to write our prefix sums this way.

This applies the same change as apache#14979 to two more prefix sums. I was not able
to measure speedups (or slowdowns) with luceneutil, but I think it's still
better to write our prefix sums this way.
@jpountz jpountz added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label Sep 5, 2025
@jpountz jpountz merged commit eb21dd7 into apache:main Sep 7, 2025
8 checks passed
jpountz added a commit that referenced this pull request Sep 7, 2025
This applies the same change as #14979 to two more prefix sums. I was not able
to measure speedups (or slowdowns) with luceneutil, but I think it's still
better to write our prefix sums this way.
@jpountz jpountz deleted the optimize_two_more_prefix_sums branch September 7, 2025 18:59
@RamakrishnaChilaka
Copy link
Contributor

@jpountz, Lucene104PostingsReader still uses the older prefix-sum pattern at line 193; I’ll open a small follow-up PR to apply the same tweak, if you agree..

@RamakrishnaChilaka
Copy link
Contributor

RamakrishnaChilaka commented Sep 10, 2025

similar change on Line 622.

@jpountz
Copy link
Contributor Author

jpountz commented Sep 10, 2025

Thanks for noticing! Please go ahead!

@dungba88
Copy link
Contributor

@jpountz I also raised #15194 for the other places in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:core/codecs skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants