I suppose if the array is small enough, it is better to use simple Quicksort. And the larger the array, the more sense it makes to use more pivots, because the calculation cost of comparing against many pivots becomes more affordable than iterating for a larger subset. So you think the optimal number of pivots to use could be directly linked to the size of the array you're trying to sort?
- Re: Replacement of Quicksort in java.uti... Goktug Gokdogan
- Re: Replacement of Quicksort in java.util.Arrays with... Ulf Zibis
- Re: Replacement of Quicksort in java.util.Arrays... Vladimir Iaroslavski
- Re: Replacement of Quicksort in java.util.Arrays with... Jonathan Graehl
- Re: Replacement of Quicksort in java.util.Arrays with... Leonid Geller
- Re: Replacement of Quicksort in java.util.Arrays with... Vadim Ponomarenko
- Re: Replacement of Quicksort in java.util.Arrays... Neal Gafter
- Re: Replacement of Quicksort in java.util.Ar... Vadim Ponomarenko
- Re: Replacement of Quicksort in java.util.Arrays with... Joshua Bloch
- Re: Replacement of Quicksort in java.util.Arrays with... Oleg Anashkin
- Re: Replacement of Quicksort in java.util.Arrays with... quitos
- Re: Replacement of Quicksort in java.util.Arrays with... Vladimir Iaroslavski