-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support for deleting keys #20
Comments
@judepereira
|
What about during iteration? Will we have to check the indexMap at all times? Iteration performance might suffer. |
I think we can check whether a key is present in index map or not at the time of iteration itself here
|
The index map isn't checked. Only the bitset is checked. |
One good way to avoid checking the index map would be to "fake" reading them. by setting the keys directly to read in the
|
yeah, we can do this. first, iterate through the deleted keys array list and set them to this bitset. |
Sounds like a plan :) |
What do you think is the best method for persistence of the deleted keys? |
I was thinking of keeping both the in-memory data structure (Map or ArrayList) and a file(in case of sudden shutdown for persistence); |
Sounds good :) |
No description provided.
The text was updated successfully, but these errors were encountered: