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

swiss: reset hash when map becomes empty #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cristaloleg
Copy link

Basically this is a fix after the comment on the original issue. golang/go#25237 (comment)

Same line can be found in the new Go 1.24 map https://github.com/golang/go/blob/2d097e363a6fce725802ecbde6d0d1b90f45290d/src/internal/runtime/maps/map.go#L664

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cristaloleg cristaloleg changed the title swiss: rehash when map becomes empty swiss: reset hash when map becomes empty Mar 12, 2025
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