mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 09:26:28 +02:00
Implement insertion sort in AK. The cutoff value 7 is a magic number here, values [5, 15] should work well. Main idea of the cutoff is to reduce recursion performed by quicksort to speed up sorting of small partitions.
1.4 KiB
1.4 KiB