计算机科学 > 数据结构与算法
[提交于 2017年5月17日]
标题:Fast Snapshottable Concurrent Braun Heaps
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper proposes a new concurrent heap algorithm, based on a stateless shape property, which efficiently maintains balance during insert and removeMin operations implemented with hand-over-hand locking. It also provides a O(1) linearizable snapshot operation based on lazy copy-on-write semantics. Such snapshots can be used to provide consistent views of the heap during iteration, as well as to make speculative updates (which can later be dropped). The simplicity of the algorithm allows it to be easily proven correct, and the choice of shape property provides priority queue performance which is competitive with highly optimized skiplist implementations (and has stronger bounds on worst-case time complexity). A Scala reference implementation is provided.
提交历史
来自:Thomas Dickerson[v1] 2017年5月17日 星期三 17:43:26 UTC