Skip to content

Update code comment after bumping block size to 256.#15177

Open
jpountz wants to merge 1 commit into
apache:mainfrom
jpountz:update_comment_256
Open

Update code comment after bumping block size to 256.#15177
jpountz wants to merge 1 commit into
apache:mainfrom
jpountz:update_comment_256

Conversation

@jpountz

@jpountz jpountz commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

The flag we store at the beginning of every block is either 0 if the block is dense, a positive integer storing the number of bits per value if encoded with FOR-delta, or a negative number storing the opposite of the number of longs required when encoded as a bit set.

This PR updates the comment that explains why we're guaranteed to not overflow a byte with the number of required longs.

The flag we store at the beginning of every block is either 0 if the block is
dense, a positive integer storing the number of bits per value if encoded with
FOR-delta, or a negative number storing the opposite of the number of longs
required when encoded as a bit set.

This PR updates the comment that explains why we're guaranteed to not overflow
a byte with the number of required longs.
@jpountz jpountz added this to the 10.4.0 milestone Sep 11, 2025
@jpountz jpountz added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label Sep 11, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!

@github-actions github-actions Bot added the Stale label Oct 15, 2025
@benwtrent benwtrent modified the milestones: 10.4.0, 10.5.0 Feb 6, 2026
@github-actions github-actions Bot removed the Stale label Feb 7, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!

@github-actions github-actions Bot added the Stale label Feb 21, 2026
@romseygeek romseygeek modified the milestones: 10.5.0, 10.6.0 Jun 26, 2026
@github-actions github-actions Bot removed the Stale label Jun 27, 2026
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