orderedmap:Go Go中的有序地图其中SetGetDelete和Len的摊销O(1) 源码
:clockwise_vertical_arrows: github.com/elliotchance/orderedmap 安装 go get -u github.com/elliotchance/orderedmap 基本用法 *OrderedMap是一种高性能的有序地图,它为Set , Get , Delete和Len维护摊销的O(1): m := orderedmap . NewOrderedMap () m . Set ( "foo" , "bar" ) m . Set ( "qux" , 1.23 ) m . Set ( 123 , true ) m . Delete ( "qu
文件列表
orderedmap-master.zip
(预估有个11文件)
orderedmap-master
.gitignore
7B
orderedmap.go
3KB
README.md
3KB
element_test.go
1KB
LICENSE
1KB
go.mod
95B
orderedmap_test.go
23KB
element.go
593B
go.sum
968B
暂无评论