summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-01-29 12:08:52 +0100
committerJim Meyering <jim@meyering.net>2007-01-29 12:08:52 +0100
commitc1f8d483879846a8d207355a67ce388778a8e773 (patch)
tree067717d61b3e09873ce4d2398288c90691dd6ac4 /bootstrap.conf
parente7420f9781484d9f283a66010b50f84bbe58f5a5 (diff)
downloadcoreutils-c1f8d483879846a8d207355a67ce388778a8e773.tar.xz
Modify "ls" to sort its data faster, using the new gnulib mpsort
module rather than qsort. This is particularly a win in environments where strcoll is slow, since mpsort typically calls strcoll less often than qsort does. * bootstrap.conf (gnulib_modules): Add mpsort. * src/ls.c: Include mpsort.h. (sorted_file, sorted_file_alloc): New vars, for a new vector of pointers to the file info, for speed. (clear_files, extract_dirs_from_files, sort_files, print_current_files): (print_many_per_line, print_horizontal, print_with_commas): (calculate_columns): Set and use new vector. (initialize_ordering_vector): New function.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index b262622e0..631f2eddf 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -53,7 +53,7 @@ gnulib_modules="
lchmod lchown lib-ignore linebuffer link-follow
long-options lstat malloc mbswidth md5 memcasecmp mempcpy
memrchr mkancesdirs mkdir mkdir-p mkstemp mktime modechange
- mountlist obstack pathmax perl physmem posixtm posixver putenv
+ mountlist mpsort obstack pathmax perl physmem posixtm posixver putenv
quote quotearg raise readlink readtokens readtokens0 readutmp
realloc regex rename-dest-slash rmdir rmdir-errno
root-dev-ino