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

BTree: Cleanup #writeOn: and #headerSize #507

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

MarcusDenker
Copy link
Contributor

  • refactor writeOn:
  • no need to store the index for the header page
  • make sure #headerSize is in sync with the data written
  • remove indexSize and #readIndexFrom:

This PR touches the BTree only (the removed methods on SoilIndexPage have no user in the SkipList)

Due to the fixed headerSize, some test need slight adapatation as the max capacity is now correct (but different to before)

…have no user in the SkipList

- refactor writeOn:
- no need to store the index for the header page
- make sure #headerSize is in sync
- remove indexSize and #readIndexFrom: 

Due to the fixed headerSize, some test need slight adapatation as the max capacity is now correct (but different to before)
@noha noha merged commit 4e20a6b into main Nov 15, 2023
2 checks passed
@MarcusDenker MarcusDenker deleted the cleanup-headerWriting branch November 15, 2023 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants