Skip to content

the bug when put same key #1

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

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

ultimate010
Copy link

I think there is a bug when put same key into map, in the hashmap_put function. The new value override the old value, but the map-> size should not increase. I fixed it and I also add the SGI STL prime function to produce the prime as map->table_size.

@dada0z
Copy link

dada0z commented Jan 31, 2019

你这中文的提交日志,对老外不太友好啊

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