摘要: Go 语言map实现采用的是哈希查找表,并且使用链表解决哈希冲突(数组+链表)。 map数据结构 type hmap struct { count int flags uint8 B uint8 noverflow uint16 hash0 uint32 buckets unsafe.Pointer 阅读全文
posted @ 2020-04-18 14:45 -零 阅读(647) 评论(0) 推荐(0)