ConcurrentHashSet:一个ConcurrentHashSet实现

时间:2024-06-15 15:35:59
【文件属性】:

文件名称:ConcurrentHashSet:一个ConcurrentHashSet实现

文件大小:10KB

文件格式:ZIP

更新时间:2024-06-15 15:35:59

concurrency netstandard concurrent-data-structure C#

并发哈希集 基于.NET的ConcurrentDictionary的ConcurrentHashSet实现 此实现支持每个项目的基本操作,而无需HashSet的set操作,因为它们在并发方案IMO中意义不大: var concurrentHashSet = new ConcurrentHashSet < string>( new [] { " hamster " , " HAMster " , " bar " , }, StringComparer . OrdinalIgnoreCase ); concurrentHashSet . TryRemove ( " foo " ); if ( concurrentHashSet . Contai


【文件预览】:
ConcurrentHashSet-main
----LICENSE(1KB)
----src()
--------ConcurrentCollections.sln(996B)
--------ConcurrentHashSet()
----.gitignore(41B)
----README.md(904B)

网友评论