Creating a ConcurrentHashMap that supports “snapshots”

后端 未结 3 1215
无人及你
无人及你 2020-12-17 05:22

I\'m attempting to create a ConcurrentHashMap that supports \"snapshots\" in order to provide consistent iterators, and am wondering if there\'s a more efficien

3条回答
  •  温柔的废话
    2020-12-17 05:58

    I've found that the ctrie is the ideal solution - it's a concurrent hash array mapped trie with constant time snapshots

提交回复
热议问题