We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wanted to initialize a haxmap B with the same size as haxmap A with the following code:
B := haxmap.New[string, struct{}](A.Len())
which worked for most cases except when A.Len() is 0. When A has 0 key-values, the initializer would panic.
Would be awesome if this is handled 🙏
The text was updated successfully, but these errors were encountered:
@chiho20 got it, will make the changes and release new minor version soon 👍
Sorry, something went wrong.
I've created a PR that references this issue: #44
Successfully merging a pull request may close this issue.
I wanted to initialize a haxmap B with the same size as haxmap A with the following code:
which worked for most cases except when A.Len() is 0. When A has 0 key-values, the initializer would panic.
Would be awesome if this is handled 🙏
The text was updated successfully, but these errors were encountered: