| Commit message (Expand) | Author | Age | Files | Lines |
| * | avoid crashing when nel==0 is passed to qsort | Rich Felker | 2011-04-29 | 1 | -2/+6 |
| * | replace heap sort with smoothsort implementation by Valentin Ochs•••Smoothsort is an adaptive variant of heapsort. This version was
written by Valentin Ochs (apo) specifically for inclusion in musl. I
worked with him to get it working in O(1) memory usage even with giant
array element widths, and to optimize it heavily for size and speed.
It's still roughly 4 times as large as the old heap sort
implementation, but roughly 20 times faster given an almost-sorted
array of 1M elements (20 being the base-2 log of 1M), i.e. it really
does reduce O(n log n) to O(n) in the mostly-sorted case. It's still
somewhat slower than glibc's Introsort for random input, but now
considerably faster than glibc when the input is already sorted, or
mostly sorted.
| Rich Felker | 2011-04-27 | 1 | -31/+192 |
| * | fix broken unsigned comparison in wcstoumax | Rich Felker | 2011-04-07 | 1 | -1/+1 |
| * | fix various bugs in strtold:•••0e10000000000000000000000000000000 was setting ERANGE
exponent char e/p was considered part of the match even if not
followed by a valid decimal value
"1e +10" was parsed as "1e+10"
hex digits were misinterpreted as 0..5 instead of 10..15
| Rich Felker | 2011-04-03 | 1 | -10/+13 |
| * | fix all implicit conversion between signed/unsigned pointers•••sadly the C language does not specify any such implicit conversion, so
this is not a matter of just fixing warnings (as gcc treats it) but
actual errors. i would like to revisit a number of these changes and
possibly revise the types used to reduce the number of casts required.
| Rich Felker | 2011-03-25 | 2 | -4/+4 |
| * | don't compare elements with themselves during qsort.•••this is actually a workaround for a bug in gcc, whereby it asserts
inequality of the keys being compared...
| Rich Felker | 2011-02-17 | 1 | -1/+1 |
| * | more header fixes, minor warning fix | Rich Felker | 2011-02-14 | 3 | -2/+4 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 32 | -0/+688 |