Fixing performance problem in GDKqsort: with certain data distributions, e.g., a sequence consisting of locally sorted subsequences, the trigger (number of swaps) to switch to insertion sort --- meant to avoid qsort recursion overhead with small chunks --- fired too early, i.e., with too large chunks. Hence, we add an extra chuck size limit check --- arbitrarily set to 1024 elements --- to prevent this case.
Fixing performance problem in GDKqsort:
with certain data distributions, e.g.,
a sequence consisting of locally sorted
subsequences, the trigger (number of swaps)
to switch to insertion sort --- meant to
avoid qsort recursion overhead with small
chunks --- fired too early, i.e., with
too large chunks.
Hence, we add an extra chuck size limit
check --- arbitrarily set to 1024 elements
--- to prevent this case.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb