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

修改HashMap初始化容量,减少不必要的扩容,提高性能 (#760) #11

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

caiming100
Copy link
Owner

No description provided.

* 获取验证码逻辑,无需加锁,不涉及线程安全问题,提高效率

* 自定义生成策略时,Map容量设置不准确,会导致无必要的扩容
@caiming100 caiming100 merged commit 2679d46 into caiming100:master Aug 8, 2022
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