为什么要设置 HashMap 的初始化容量?
public class Main {
public static void main(String[] args) {
int end = 10000000;
HashMap<Integer, Integer> map = new HashMap<>();
long l = System.currentTimeMillis();
for (int i=0;i<end;i++){
map.put(i,</