projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up overinclusion in files using TIOCGWINSZ
[musl]
/
src
/
stdlib
/
qsort.c
diff --git
a/src/stdlib/qsort.c
b/src/stdlib/qsort.c
index
434d935
..
da58fd3
100644
(file)
--- a/
src/stdlib/qsort.c
+++ b/
src/stdlib/qsort.c
@@
-21,6
+21,9
@@
/* Minor changes by Rich Felker for integration in musl, 2011-04-27. */
/* Minor changes by Rich Felker for integration in musl, 2011-04-27. */
+/* Smoothsort, an adaptive variant of Heapsort. Memory usage: O(1).
+ Run time: Worst case O(n log n), close to O(n) in the mostly-sorted case. */
+
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>