yx9o commented on pull request #11515:
URL: https://github.com/apache/shardingsphere/pull/11515#issuecomment-886773894


   @terrymanu hi, I looked at the source code of `HashMap` and tested that the 
`threshold` value calculated by `new HashMap<>(3)` and `new HashMap<>(3, 1)` is 
the same, and it will not expand when storing three elements, so I I chose `new 
HashMap<>(3)` this concise way.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to