【24h】

Sparse Prefix Sums

机译:稀疏前缀和

获取原文
获取原文并翻译 | 示例

摘要

The prefix sum approach is a powerful technique to answer range-sum queries over multi-dimensional arrays in constant time by requiring only a few look-ups in an array of precomputed prefix sums. In this paper, we propose the sparse prefix sum approach that is based on relative prefix sums and exploits sparsity in the data to vastly reduce the storage costs for the prefix sums. The proposed approach has desirable theoretical properties and works well in practice. It is the first approach achieving constant query time with sub-linear update costs and storage costs for range-sum queries over sparse low-dimensional arrays. Experiments on real-world data sets show that the approach reduces storage costs by an order of magnitude with only a small overhead in query time, thus preserving microsecond-fast query answering.
机译:前缀求和方法是一项强大的技术,通过在预先计算的前缀和数组中仅需要进行几次查找,就可以在恒定时间内回答多维数组的范围和查询。在本文中,我们提出了一种基于相对前缀和的稀疏前缀和方法,并利用数据中的稀疏性来大大降低前缀和的存储成本。所提出的方法具有理想的理论特性,并且在实践中效果很好。这是第一种通过稀疏低维数组上的范围和查询获得亚线性更新成本和存储成本的恒定查询时间的方法。在现实世界数据集上的实验表明,该方法将存储成本降低了一个数量级,而查询时间却只有很小的开销,从而保留了微秒级的快速查询应答。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号