Skip to content

Modifiy the check condition of same hash bucket in hashmap_set#45

Open
BlueBlueMooo wants to merge 1 commit intotidwall:masterfrom
BlueBlueMooo:master
Open

Modifiy the check condition of same hash bucket in hashmap_set#45
BlueBlueMooo wants to merge 1 commit intotidwall:masterfrom
BlueBlueMooo:master

Conversation

@BlueBlueMooo
Copy link

Hi Tidwall,
I modified the if-condition in hashmap_set_with_hash used to check new element-data is same as the bucket_item data or not.
It may be better? I don't known :), just to pull a request to discuss.
Thank you.

@tidwall
Copy link
Owner

tidwall commented Jan 10, 2026

I can't make heads of this change. What does this fix exactly?

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.

2 participants