arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2101.00172cs.DScs.DBcs.DCcs.NI
收藏

块列表:并发数据结构

Chunk List: Concurrent Data Structures

Daniel Szelogowski

摘要:

分块数据显然不是什么新概念;然而,我从未发现任何使用分块作为其实现基础的数据结构。我认为,通过使用分块和并发,我可以创建一个非常快的运行时,对于特定的方法,如搜索和/或排序。通过利用分块和并发的优势,我提出了块列表--一种基于列表的动态数据结构,它将大量数据分成特定大小的块,每个块都应该能够通过在单独的线程上搜索每个块来同时搜索。由于将这个概念实现到它自己的类中,我能够创建一些几乎始终比常规ArrayList快20 - 300倍的结果。但是,即使在实现之后,速度也应该是一个特别的问题,用户可以修改块的大小,并根据存储的数据量对使用较小或较大块的速度进行基准测试。

英文摘要:

Chunking data is obviously no new concept; however, I had never found any data structures that used chunking as the basis of their implementation. I figured that by using chunking alongside concurrency, I could create an extremely fast run-time in regards to particular methods as searching and/or sorting. By using chunking and concurrency to my advantage, I came up with the chunk list - a dynamic list-based data structure that would separate large amounts of data into specifically sized chunks, each of which should be able to be searched at the exact same time by searching each chunk on a separate thread. As a result of implementing this concept into its own class, I was able to create something that almost consistently gives around 20x-300x faster results than a regular ArrayList. However, should speed be a particular issue even after implementation, users can modify the size of the chunks and benchmark the speed of using smaller or larger chunks, depending on the amount of data being stored.

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

↑