提交 52cf5c18 编写于 作者: L Leah Neukirchen 提交者: Rich Felker

qsort: add a short comment about the algorithm

上级 dc2f368e
......@@ -21,6 +21,9 @@
/* 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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册