Descriptionsuffixarray: faster creation algorithm
This implements the algorithm qsufsort using the sort package
as a sorting primitive. Its worst-case performance is O(N*log(N)), and it
uses only an additional slice of N ints of memory during creation.
Benchmarks (seconds):
old new
10k nulls 149 0.044
1M English corpus 32.0 3.6
Patch Set 1 #Patch Set 2 : code review 3752044: suffixarray: faster creation algorithm #Patch Set 3 : code review 3752044: suffixarray: faster creation algorithm #
Total comments: 10
Patch Set 4 : code review 3752044: suffixarray: faster creation algorithm #
MessagesTotal messages: 8
|