Closed Daisy-gj closed 2 years ago
Yes, libsais is based on induced sorting SA-IS algorithm. Yuta Mori implementation for this algorithm could be found here .
Note, libdivsufsort you quoted above is not based on SA-IS algorithm. You could find description of algorithm here and it only need O(1) bytes of additional memory (256KB to be exact) which is optimal for this class of algorithms which do not use external memory.
Yes, libsais is based on induced sorting SA-IS algorithm. Yuta Mori implementation for this algorithm could be found here .
Note, libdivsufsort you quoted above is not based on SA-IS algorithm. You could find description of algorithm here and it only need O(1) bytes of additional memory (256KB to be exact) which is optimal for this class of algorithms which do not use external memory.
Thanks! I will read this paper.
yuta mori's code:https://github.com/y-256/libdivsufsort/ , I've test his code, the biggest disadvantages is 5 times in-memory usage.