LCP-Aware Parallel String Sorting
Abstract
When lexicographically sorting strings, it is not always necessary to inspect all symbols. For example, the lexicographical rank of "europar" amongst the strings "eureka", "eurasia", and "excells" only depends on its so called relevant prefix "euro". The distinguishing prefix size of a set of strings is the number of symbols that actually need to be inspected to establish the lexicographical ordering of all strings. Efficient string sorters should be -aware, i.e. their complexity should depend on rather than on the total number of all symbols in all strings. While there are many -aware sorters in the sequential setting, there appear to be no such results in the PRAM model. We propose a framework yielding a -aware modification of any existing PRAM string sorter. The derived algorithms are work-optimal with respect to their original counterpart: If the original algorithm requires work, the derived one requires work. The execution time increases only by a small factor that is logarithmic in the length of the longest relevant prefix. Our framework universally works for deterministic and randomized algorithms in all variations of the PRAM model, such that future improvements in (-unaware) parallel string sorting will directly result in improvements in -aware parallel string sorting.
Cite
@article{arxiv.2006.02219,
title = {LCP-Aware Parallel String Sorting},
author = {Jonas Ellert and Johannes Fischer and Nodari Sitchinava},
journal= {arXiv preprint arXiv:2006.02219},
year = {2020}
}
Comments
Accepted at Euro-Par 2020 and to be published by Springer as part of the conference proceedings