arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.11417cs.DCcs.DBcs.DS
收藏

红黑木组合

Flat combined Red Black Trees

Sergio Sainz-Palacios

摘要:

平面组合是一种并发线程技术,其中一个线程通过扫描待完成的操作队列并一起执行它们来批量执行所有操作。如果k个操作都需要O(n)的时间,那么可以将它们分批在一起,并在小于O(k*n)的时间内完成,那么平面合并就有意义。红黑树是一种平衡二叉搜索树,具有永久平衡保证。红黑树中的操作很难批量处理:例如,在树的两个不同分支中插入节点会影响树的不同区域。在本文中,我们调查的替代品,使一个平面结合的方法工作的红黑树。

英文摘要:

Flat combining is a concurrency threaded technique whereby one thread performs all the operations in batch by scanning a queue of operations to-be-done and performing them together. Flat combining makes sense as long as k operations each taking O(n) separately can be batched together and done in less than O(k*n). Red black tree is a balanced binary search tree with permanent balancing warranties. Operations in red black tree are hard to batch together: for example inserting nodes in two different branches of the tree affect different areas of the tree. In this paper we investigate alternatives to making a flat combine approach work for red black trees.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑