日本ソフトウェア科学会大会講演論文集
Online ISSN : 1349-3515
ISSN-L : 0913-5391
日本ソフトウェア科学会第21回大会
セッションID: 1D-2
会議情報

Leaves Optimal Adaptive Sort LOAS and LLCP Merge
*Futamura YoshihikoFutamura NatsuhikoNg Jorge
著者情報
キーワード: sorting, quicksort, ternarysort
会議録・要旨集 フリー

詳細
抄録

When we sort a large data base where a key is a long string of characters, reducing the number of key comparisons is very important for a sorting method. In this paper, we show that the number of key comparisons of LOAS (Leaves Optimal Adaptive Sort) is much smaller than that of MERGESORT and QUICKSORT when the number of leaves of a given data is small. Here, the leaf of a sequence stands for an element in the sequence that does not have any smaller neighbor than it. Since LOAS is a merge-based sorting algorithm, it is very important to use an efficient merging algorithm. We propose LLCP merging method which drastically reduces the number of key accesses when a key is a long character string.

著者関連情報
© 2004 日本ソフトウェア科学会
前の記事 次の記事
feedback
Top