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 条
  • [11] Cache-Oblivious Persistence
    Davoodi, Pooya
    Fineman, Jeremy T.
    Iacono, John
    Oezkan, Oezguer
    ALGORITHMS - ESA 2014, 2014, 8737 : 296 - 308
  • [12] Cache-oblivious algorithms
    Leiserson, CE
    ALGORITHMS AND COMPLEXITY, PROCEEDINGS, 2003, 2653 : 5 - 5
  • [13] Cache-Oblivious Algorithms
    Frigo, Matteo
    Leiserson, Charles E.
    Prokop, Harald
    Ramachandran, Sridhar
    ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (01)
  • [14] Cache-Oblivious Hashing
    Pagh, Rasmus
    Wei, Zhewei
    Yi, Ke
    Zhang, Qin
    ALGORITHMICA, 2014, 69 (04) : 864 - 883
  • [15] The Cost of Cache-Oblivious Searching
    Michael A. Bender
    Gerth Stølting Brodal
    Rolf Fagerberg
    Dongdong Ge
    Simai He
    Haodong Hu
    John Iacono
    Alejandro López-Ortiz
    Algorithmica, 2011, 61 : 463 - 505
  • [16] Is cache-oblivious DGEMM viable?
    Gunnels, John A.
    Gustavson, Fred G.
    Pingali, Keshav
    Yotov, Kamen
    APPLIED PARALLEL COMPUTING: STATE OF THE ART IN SCIENTIFIC COMPUTING, 2007, 4699 : 919 - +
  • [17] The cost of cache-oblivious searching
    Bender, MA
    Brodal, GS
    Fagerberg, R
    Ge, DD
    He, SM
    Hu, HD
    Iacono, J
    López-Ortiz, A
    44TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2003, : 271 - 282
  • [18] Cache-oblivious mesh layouts
    Yoon, SE
    Lindstrom, P
    Pascucci, V
    Manocha, D
    ACM TRANSACTIONS ON GRAPHICS, 2005, 24 (03): : 886 - 893
  • [19] The Cost of Cache-Oblivious Searching
    Bender, Michael A.
    Brodal, Gerth Stolting
    Fagerberg, Rolf
    Ge, Dongdong
    He, Simai
    Hu, Haodong
    Iacono, John
    Lopez-Ortiz, Alejandro
    ALGORITHMICA, 2011, 61 (02) : 463 - 505
  • [20] Cache-Oblivious Dynamic Programming
    Chowdhury, Rezaul Alam
    Ramachandran, Vijaya
    PROCEEDINGS OF THE SEVENTHEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2006, : 591 - 600