Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow storing/reading 32 bit offsets in nodes. #8713

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Conversation

nicktobey
Copy link
Contributor

This change allows future node messages to use 32 bit offsets in their encoding.

This increases the side of the Node struct, but given that each Node is much smaller than the message that it backs, this isn't really a memory concern.

Currently, none of the node types use this, so this change shouldn't have any immediate effect on observable behavior.

@nicktobey nicktobey force-pushed the nicktobey/node-size branch from 56857f2 to f52b54a Compare January 3, 2025 22:28
@coffeegoddd
Copy link
Contributor

@nicktobey DOLT

comparing_percentages
100.000000 to 100.000000
version result total
f52b54a ok 5937457
version total_tests
f52b54a 5937457
correctness_percentage
100.0

Copy link
Contributor

@reltuk reltuk left a comment

Choose a reason for hiding this comment

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

LGTM!

@nicktobey nicktobey merged commit c7f94a5 into main Jan 6, 2025
21 of 22 checks passed
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.

3 participants