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

Move #isRemoved for #isEmpty from the pages to the SoilIndexedDictionary #518

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

MarcusDenker
Copy link
Contributor

The test of removed items should not happen at the level of the pages

  • remove #hasItems
  • use #isEmpty on the level of the SkipList and Btree, not #hasItems
  • do the #isRemoved check on the level of the SoilIndexedDictionary

Clean up first/last item to not need a block creation.

This does not restore values yet, it is just a refactoring. But now we can use it in a next step

- remove #hasItems
- use #isEmpty on the level of the SkipList and Btree, not #hasItems
- do the #isRemoved check on the level of the SoilIndexedDictionary

Clean up first/last item to not need a block creation.
@noha noha merged commit 628d6ba into main Nov 23, 2023
2 checks passed
@MarcusDenker MarcusDenker deleted the isRemoved branch November 23, 2023 14:56
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.

SkipListDataPage>>#hasItems uses isRemoved but should use restoreValue
2 participants