Skip to content

Conversation

@piotrrzysko
Copy link
Collaborator

Previously, the branch encoding longs in 9 bytes was unreachable because the condition val < (1L << 63) is always false. Only negative longs should be encoded using 10 bytes.

Previously, the branch encoding longs in 9 bytes was unreachable because
the condition `val < (1L << 63)` is always false. Only
negative longs should be encoded using 10 bytes.
@blacelle
Copy link
Collaborator

Thanks @piotrrzysko . This feels correct @lemire .

@lemire lemire merged commit bd91806 into fast-pack:master Oct 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants