摘要: Golang中,通过哈希查找实现hash,通过链表解决hash冲突 map的内存模型 type hmap struct { count int // map 中的元素个数,必须放在 struct 的第一个位置,因为 内置的 len 函数会从这里读取 flags uint8 B uint8 // lo 阅读全文
posted @ 2020-11-30 21:10 LeeJuly 阅读(1367) 评论(0) 推荐(0) 编辑