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

Fix shift_indexes_in_buckets by going through the whole m_buckets_data instead of finding back the bucket through m_values #39

Merged
merged 3 commits into from
Jan 15, 2023

Conversation

Tessil
Copy link
Owner

@Tessil Tessil commented Jan 14, 2023

Fix shift_indexes_in_buckets by going through the whole m_buckets_data instead of finding back the bucket through m_values

shift_indexes_in_buckets was trying to find back a bucket through m_values but as it modifies the indexes during the iteration, there's a risk of having two buckets with the same index for which we can't reliably know which one still need a shift by delta.

Fix issue #38

…a instead of finding back the bucket through m_values

shift_indexes_in_buckets was trying to find back a bucket through
m_values but as it modifies the indexes during the iteration, there's a
risk of having two buckets with the same index for which we can't
reliably know which one still need a shift by delta.

Fix issue #38
@Tessil Tessil merged commit 91a69c2 into master Jan 15, 2023
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

Successfully merging this pull request may close these issues.

1 participant