-
Noob question, end users would love a solution that is optimal in all cases.
As such, couldn't you detect cases where pdqsort or fluxsort are expected to be optimal and switch to them at runtime auto…
-
For those hungry after speed, I'd recommend recent observation why finally "correctly" implement QuickSort (in pure C - without any assembly - with very short code base - about 3x as minimal quicksort…
-
Could you also add plots of a benchmark with different number of items in the array (as you [did in benchmarks of Quadsort](https://github.com/scandum/quadsort/blob/master/images/graph2.png ))?
Esp…
-
It seems the sorting algorithm currently used is some variant of merge sort. If someone uses sorted outputs a lot then the complexity and practical limitations of the sorting algorithm start to matter…
-
First of all, great job on this and I am currently working on trying to make a JavaScript port and test out against various sorting algorithms on Node.js.
I don't quite understand these two sectio…
-
Currently `array.sort()` is unstable, meaning it is unusable for performing this kind of task:
> Sort array of users by age, and within the records with same age, sort alphabetically by username
…
-
```cpp
case sizeof(long long):// line322
return quadsort64(array, nmemb, cmp);
case sizeof(long double):// line325
return quadsort128(array, nmemb, cmp);
```
Sometimes both `long long` and `…
-
Genericity in C++(template)is quite useful.
Making it more useful won't hurt.
-
As promised in https://github.com/daokoder/dao/issues/307#issuecomment-756723644 , I'm copy-pasting the information here.
First of all, thanks for this initiative. It sounds valuable as sorting sti…
-
It may be useful to have the option to stable sort arrays.
I'm thinking about adding it as a flag in `Array#sort`, defaulting to false, signature looks like this:
```
def sort(stable = false) : A…