Xin LI ca1578f0c0 The current qsort(3) implementation ignores the sizes of partitions, and
always perform recursion on the left partition, then use a tail call to
handle the right partition.  In the worst case this could require O(N)
levels of recursions.

Reduce the possible recursion level to log2(N) by always recursing on the
smaller partition instead.

Obtained from:	PostgreSQL 9d6077abf9d6efd992a59f05ef5aba981ea32096
2017-05-19 04:59:12 +00:00
..
2017-05-04 00:04:17 +00:00
2017-02-28 23:42:47 +00:00
2016-11-11 23:28:07 +00:00
2017-04-23 03:36:03 +00:00
2017-02-28 23:42:47 +00:00
2016-11-20 06:10:12 +00:00
2017-03-11 00:08:11 +00:00
2017-05-11 13:46:30 +00:00
2017-04-07 06:06:55 +00:00
2017-02-27 00:10:00 +00:00
2017-02-14 13:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-15 20:05:22 +00:00