首页> 外文会议>Experimental algorithms. >Fast, Small, Simple Rank/Select on Bitmaps
【24h】

Fast, Small, Simple Rank/Select on Bitmaps

机译:快速,小型,简单的位图排序/选择

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

摘要

Rank and select queries on bitmaps are fundamental for the construction of a variety of compact data structures. Both can, in theory, be answered in constant time by spending o(n) extra bits on top of the original bitmap, of length n, or of a compressed version of it. However, while the solution for rank is indeed simple and practical, a similar result for select has been elusive, and practical compact data structure implementations avoid its use whenever possible. In addition, the overhead of the o(n) extra bits is in many cases very significant. In this paper we bridge the gap between theory and practice by presenting two structures, one using the bitmap in plain form and another using a compressed form, that are simple to implement and combine much lower space overheads than previous work with excellent time performance for rank and select queries. In particular, our structure for plain bitmaps is far smaller and faster for select than any previous structure, while competitive for rank with the best previous structures of similar size.
机译:位图上的排名和选择查询是构建各种紧凑型数据结构的基础。从理论上讲,可以通过在原始位图的顶部花费o(n)个额外的位(长度为n或压缩后的版本),在固定时间内回答这两个问题。但是,尽管排名的解决方案确实简单实用,但对于select而言却难以获得类似的结果,实用的紧凑型数据结构实现会尽可能避免使用它。此外,o(n)个额外位的开销在许多情况下非常重要。在本文中,我们通过提出两种结构来弥合理论与实践之间的鸿沟,一种使用简单的位图,另一种使用压缩的形式,它们易于实现,并且与以前的工作相比,其空间开销比以前的工作要低得多,并且具有较高的排名时间性能。并选择查询。特别是,我们的普通位图结构比以前的结构要小得多,并且选择速度更快,而具有类似大小的最佳以前结构的排名具有竞争力。

著录项

  • 来源
    《Experimental algorithms.》|2012年|p.295-306|共12页
  • 会议地点 Bordeaux(FR);Bordeaux(FR)
  • 作者单位

    Department of Computer Science, University of Chile;

    Department of Computer Science, University of Chile,Escuela de Ingenien'a Civil Informatica, Facultad de Ingenien'a, Universidad de Valparaiso, Valparaiso, Chile;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 软件工程;软件工程;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号