This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/stdlib msort.c
- From: drepper at sources dot redhat dot com
- To: glibc-cvs at sourceware dot cygnus dot com
- Date: 18 Jan 2002 06:22:50 -0000
- Subject: libc/stdlib msort.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2002-01-17 22:22:50
Modified files:
stdlib : msort.c
Log message:
(msort_with_tmp): Replace implementation with
more efficient "Towers of Hanoi" mergesort.
(hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
for generic, sizeof(int) and sizeof(long) variants respectively.