External string sorting: Faster and cache-oblivious

被引:0
|
作者
Fagerberg, R
Pagh, A
Pagh, R
机构
[1] Univ So Denmark, DK-5230 Odense M, Denmark
[2] IT Univ Copenhagen, DK-2300 Copenhagen S, Denmark
来源
STACS 2006, PROCEEDINGS | 2006年 / 3884卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 > B1+epsilon for some epsilon > 0. An implication of our result is improved construction algorithms for external memory string dictionaries.
引用
收藏
页码:68 / 79
页数:12
相关论文
共 50 条
  • [1] Cache-Oblivious String Dictionaries
    Brodal, Gerth Stolting
    Fagerberg, Rolf
    PROCEEDINGS OF THE SEVENTHEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2006, : 581 - +
  • [2] Cache-aware and cache-oblivious adaptive sorting
    Brodal, GS
    Fagerberg, R
    Moruz, G
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2005, 3580 : 576 - 588
  • [3] Cache-Oblivious and Data-Oblivious Sorting and Applications
    Chan, T-H. Hubert
    Guo, Yue
    Lin, Wei-Kai
    Shi, Elaine
    SODA'18: PROCEEDINGS OF THE TWENTY-NINTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2018, : 2201 - 2220
  • [4] Cache-oblivious index for approximate string matching
    Hon, Wing-Kai
    Lam, Tak-Wah
    Shah, Rahul
    Tam, Siu-Lung
    Vitter, Jeffrey Scott
    THEORETICAL COMPUTER SCIENCE, 2011, 412 (29) : 3579 - 3588
  • [5] Cache-oblivious index for approximate string matching
    Hon, Wing-Kai
    Lam, Tak-Wah
    Shah, Rahul
    Tam, Siu-Lung
    Vitter, Jeffrey Scott
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2007, 4580 : 40 - +
  • [6] Compressed Cache-Oblivious String B-tree
    Ferragina, Paolo
    Venturini, Rossano
    ALGORITHMS - ESA 2013, 2013, 8125 : 469 - 480
  • [7] Brief Announcement: Low Depth Cache-Oblivious Sorting
    Blelloch, Guy E.
    Gibbons, Phillip B.
    Simhadri, Harsha Vardhan
    SPAA'09: PROCEEDINGS OF THE TWENTY-FIRST ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2009, : 121 - 123
  • [8] Compressed Cache-Oblivious String B-Tree
    Ferragina, Paolo
    Venturini, Rossano
    ACM TRANSACTIONS ON ALGORITHMS, 2016, 12 (04)
  • [9] Cache-Oblivious Hashing
    Rasmus Pagh
    Zhewei Wei
    Ke Yi
    Qin Zhang
    Algorithmica, 2014, 69 : 864 - 883
  • [10] Cache-Oblivious Hashing
    Pagh, Rasmus
    Wei, Zhewei
    Yi, Ke
    Zhang, Qin
    PODS 2010: PROCEEDINGS OF THE TWENTY-NINTH ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2010, : 297 - 304