跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:2204.06077 (cs)
[提交于 2022年4月12日]

标题:PaC-trees: Supporting Parallel and Compressed Purely-Functional Collections

作者:Laxman Dhulipala, Guy E. Blelloch, Yan Gu, Yihan Sun
查看论文《PaC-trees: Supporting Parallel and Compressed Purely-Functional Collections》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Many modern programming languages are shifting toward a functional style for collection interfaces such as sets, maps, and sequences. Functional interfaces offer many advantages, including being safe for parallelism and providing simple and lightweight snapshots. However, existing high-performance functional interfaces such as PAM, which are based on balanced purely-functional trees, incur large space overheads for large-scale data analysis due to storing every element in a separate node in a tree. This paper presents PaC-trees, a purely-functional data structure supporting functional interfaces for sets, maps, and sequences that provides a significant reduction in space over existing approaches. A PaC-tree is a balanced binary search tree which blocks the leaves and compresses the blocks using arrays. We provide novel techniques for compressing and uncompressing the blocks which yield practical parallel functional algorithms for a broad set of operations on PaC-trees such as union, intersection, filter, reduction, and range queries which are both theoretically and practically efficient. Using PaC-trees we designed CPAM, a C++ library that implements the full functionality of PAM, while offering significant extra functionality for compression. CPAM consistently matches or outperforms PAM on a set of microbenchmarks on sets, maps, and sequences while using about a quarter of the space. On applications including inverted indices, 2D range queries, and 1D interval queries, CPAM is competitive with or faster than PAM, while using 2.1--7.8x less space. For static and streaming graph processing, CPAM offers 1.6x faster batch updates while using 1.3--2.6x less space than the state-of-the-art graph processing system Aspen.
评论: This is a preliminary version of a paper that will appear at the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI 2022)
主题: 数据结构与算法 (cs.DS); 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:2204.06077 [cs.DS]
  (或者 arXiv:2204.06077v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.2204.06077

提交历史

来自:Laxman Dhulipala
[v1] 2022年4月12日 星期二 20:40:15 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DS
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-04
切换浏览方式为:
cs
cs.DC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站