Skip to content
/ cmap Public

ConcurrentMap low版简单并发map 学习《Go并发编程》

Notifications You must be signed in to change notification settings

0xff-dev/cmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMap

ConcurrentMap

简单介绍

cmap 是首先分段锁的一个并发map, Pair 定义了映射, 使用bucket 实现了链表的操作 最后用segment 定义了多个bucket, 分段并发, 想要遍历也是很简单的, 了解她的基本 [ [ linkPair]bucket]Segment

About

ConcurrentMap low版简单并发map 学习《Go并发编程》

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages