## 一、map 的底层实现原理
![](https://img.kancloud.cn/68/7e/687eddce1f5d5eddd0a8e764d4dfef95_817x192.png)
![](https://img.kancloud.cn/b1/d1/b1d18b52d1b36627500b3725723efb89_1098x789.png)
![](https://img.kancloud.cn/8a/91/8a9128c54d0a3a2b3e81205b75b435ce_1056x525.png)
![](https://img.kancloud.cn/5f/e1/5fe1586cef9556bcdd2509a849b2613d_1266x754.png)
![](https://img.kancloud.cn/cc/9f/cc9fc19f1ab1577b6b2118d18322f1ef_995x341.png)
![](https://img.kancloud.cn/73/a3/73a3c64439d929c906c82e1fae966697_1269x354.png)
![](https://img.kancloud.cn/9c/e8/9ce8aca4331b55c8a0f3ee904367ceff_1218x721.png)
## 二、map遍历为什么十无效的
![](https://img.kancloud.cn/7d/1e/7d1edbb0f11b92f9e2e4e304cdb27646_1292x794.png)
## 二、map为什么是非线程安全
![](https://img.kancloud.cn/e1/fe/e1fec51a81129f32ce36cf6b01482246_1275x633.png)
![](https://img.kancloud.cn/8e/a3/8ea3bb8fbdf5fb0aeef0d9d408afd0f7_1130x677.png)
![](https://img.kancloud.cn/1a/5d/1a5d66396269ee874a9a20f64dfa827c_774x551.png)
## 三、map如何查找
![](https://img.kancloud.cn/c8/37/c8373da1b53796c6339e3dbc2f431b10_478x835.png)
![](https://img.kancloud.cn/f4/07/f40734ca24f137f247a6316eaed532e6_1261x567.png)
![](https://img.kancloud.cn/1c/b5/1cb5288e288cb6899dcccbe99de783bb_1293x767.png)
![](https://img.kancloud.cn/03/b5/03b58510cbb60bc4805e795312be0842_1274x512.png)
![](https://img.kancloud.cn/9f/2b/9f2be69906c448707c436c9cafe38e3f_971x535.png)
## map冲突的解决方式
![](https://img.kancloud.cn/84/2d/842d0ceeb0e898d2b0a8d72a339a84b6_1275x772.png)
![](https://img.kancloud.cn/5a/bf/5abf0905aef7731007b69734780540a7_1288x318.png)
## map的负载因子为什么是6.5
![](https://img.kancloud.cn/ce/1e/ce1e5eb68762835c393ab2d1e381659e_1189x579.png)
![](https://img.kancloud.cn/49/13/4913618ab06235f201e87541ae17b533_1286x769.png)
## Go map如何扩容?
![](https://img.kancloud.cn/bc/4a/bc4aec231cb0022872b7e77c3c82ff72_1024x673.png)
![](https://img.kancloud.cn/49/d7/49d70abc7824af2ebcef8971ccd2178d_1275x627.png)
![](https://img.kancloud.cn/ed/c9/edc90058614daaa0a6c5ae4348a1c148_1284x229.png)
![](https://img.kancloud.cn/e7/fb/e7fb0c016a41c96cd6ff1d55e05defb3_934x835.png)
![](https://img.kancloud.cn/89/d5/89d595028bb8a70b602ee5906fdcd2bb_1272x302.png)
## map和sync.Map谁的性能好,为什么?
![](https://img.kancloud.cn/c0/ca/c0ca10618ec92db13e9e4b5c9ebfb964_1276x552.png)