【24h】

External String Sorting: Faster and Cache-Oblivious

机译:外部字符串排序:速度更快且不受缓存影响

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

摘要

We give a randomized algorithm for sorting strings in external memory. For K binary strings comprising N words in total, our algorithm finds the sorted order and the longest common prefix sequence of the strings using O(K/B log_(M/B)(K/M) log(N/K) + N/B) I/Os. This bound is never worse than O(K/B log_(M/B)(K/M) log log_(M/B)(K/M) + N/B) I/Os, and improves on the (deterministic) algorithm of Arge et al. (On sorting strings in external memory, STOC '97). The error probability of the algorithm can be chosen as O(N~(-c)) for any positive constant c. The algorithm even works in the cache-oblivious model under the tall cache assumption, i.e,, assuming M > B~(1+ε) for some ε > 0. An implication of our result is improved construction algorithms for external memory string dictionaries.
机译:我们提供了一种用于对外部存储器中的字符串进行排序的随机算法。对于总共包含N个单词的K个二进制字符串,我们的算法使用O(K / B log_(M / B)(K / M)log(N / K)+ N来找到字符串的排序顺序和最长的公共前缀序列/ B)I / O。此界限永远不会比O(K / B log_(M / B)(K / M)log log_(M / B)(K / M)+ N / B)I / O差,并且在(确定性)上有所改进Arge等人的算法。 (关于在外部存储器中对字符串进行排序,STOC '97)。对于任何正常数c,可以将算法的错误概率选择为O(N〜(-c))。该算法甚至在高缓存假设(即,对于某些ε> 0假设M> B〜(1 +ε))下,也可以在不考虑缓存的模型中工作。我们的结果的含义是改进了外部存储器字符串字典的构造算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号