2007-10-04 Jakub Jelinek
authorUlrich Drepper <drepper@redhat.com>
Fri, 5 Oct 2007 06:50:35 +0000 (06:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 5 Oct 2007 06:50:35 +0000 (06:50 +0000)
commit375d942968a95ec6c324d89922ee7a574c40630f
treefd9e064e4b293e36080fee72ebc1b44f7b9934f6
parent174420d2bc39c611fbc09669490b96fc6cc81520
2007-10-04  Jakub Jelinek

* stdlib/msort.c: Include stdint.h.
(struct msort_param): New type.
(msort_with_tmp): Use struct msort_param pointer for unchanging
parameters.  Add optimized handling for several common sizes
and indirect sorting mode.
(qsort): Adjust msort_with_tmp callers.  For big S use indirect
sorting.
Suggested by Belazougui Djamel .

* stdlib/Makefile (tests): Add tst-qsort2.
* stdlib/tst-qsort2.c: New test.
ChangeLog
stdlib/Makefile
stdlib/msort.c
stdlib/tst-qsort2.c [new file with mode: 0644]