In-Place Radix Sort

后端 未结 15 1334
日久生厌
日久生厌 2020-12-02 03:30

This is a long text. Please bear with me. Boiled down, the question is: Is there a workable in-place radix sort algorithm?


Preliminary

15条回答
  •  日久生厌
    2020-12-02 04:16

    Radix-Sort is not cache conscious and is not the fastest sort algorithm for large sets. You can look at:

    • ti7qsort. ti7qsort is the fastest sort for integers (can be used for small-fixed size strings).
    • Inline QSORT
    • String sorting

    You can also use compression and encode each letter of your DNA into 2 bits before storing into the sort array.

提交回复
热议问题