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

Improve performance and fix panic #720

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Improve performance and fix panic #720

merged 1 commit into from
Nov 20, 2023

Conversation

cberner
Copy link
Owner

@cberner cberner commented Nov 20, 2023

When selecting the page size to allocate when building a leaf(s) page space for offsets were still being allocated for fixed width types. This lead to those types having leaves that were much larger than necessary, and worse they could grow without bound eventually leading to a panic when the page overflowed the maximum 2^16 storable pairs.

Fixes #719

When selecting the page size to allocate when building a leaf(s) page,
space for offsets was still being allocated for fixed width types. This
lead to those types having leaves that were much larger than necessary,
and worse they could grow without bound eventually leading to a panic
when the page overflowed the maximum 2^16 storable pairs.
@cberner cberner merged commit c29eed6 into master Nov 20, 2023
3 checks passed
@cberner cberner deleted the required_size branch November 20, 2023 00:42
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.

Panic with TryFromIntError
1 participant