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

Assert invariants #197

Open
saik0 opened this issue Feb 10, 2022 · 0 comments
Open

Assert invariants #197

saik0 opened this issue Feb 10, 2022 · 0 comments

Comments

@saik0
Copy link
Contributor

saik0 commented Feb 10, 2022

Invariants we could assert:

  • Array store is sorted
  • Array store is deduplicated
  • Bitmap store length is correct
  • Roaring containers are sorted by key
  • Roaring datastructure len is correct in Constant time len #182

I think debug asserting this for every mutation and creation would be best.

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

No branches or pull requests

1 participant