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

Store full/empty bit in a bit-vector #23

Open
Stebalien opened this issue Sep 8, 2016 · 0 comments
Open

Store full/empty bit in a bit-vector #23

Stebalien opened this issue Sep 8, 2016 · 0 comments

Comments

@Stebalien
Copy link

Instead of using options, consider storing a full/empty bit-vector (backed by a RawVec for storing the actual values).

  1. This takes less space when the null pointer optimization doesn't apply.
  2. It allows for faster cache friendly iteration over reasonably sparse vec-maps.
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