Paul Eggert
c1f8d48387
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.
2007-01-29 12:08:52 +01:00
..
2006-08-25 23:30:57 +00:00
2006-10-21 19:50:47 +00:00
2007-01-04 11:52:52 +01:00
2006-09-03 02:53:16 +00:00
2007-01-18 10:18:02 +01:00
2006-10-25 01:05:30 +02:00
2006-12-14 15:41:50 +01:00
2006-12-14 11:14:25 +01:00
2007-01-10 22:00:44 +01:00
2005-05-14 07:58:31 +00:00
2006-12-14 15:41:50 +01:00
2005-05-14 07:58:31 +00:00
2006-10-14 12:04:31 +00:00
2005-07-09 22:10:38 +00:00
2007-01-03 10:46:25 +01:00
2006-12-06 20:44:08 +01:00
2005-06-02 05:17:24 +00:00
2005-06-02 05:17:24 +00:00
2006-12-06 20:44:08 +01:00
2007-01-20 09:54:20 +01:00
2006-12-20 14:25:55 +01:00
2006-11-27 11:27:46 +01:00
2006-11-27 11:27:46 +01:00
2007-01-26 16:37:37 +01:00
2006-09-03 02:53:16 +00:00
2007-01-26 23:58:37 +01:00
2007-01-05 09:52:10 +01:00
2006-09-03 02:53:16 +00:00
2006-10-13 15:25:37 +00:00
2006-11-27 11:27:46 +01:00
2006-07-09 17:08:55 +00:00
2005-05-14 07:58:31 +00:00
2006-07-09 17:02:53 +00:00
2007-01-11 19:31:27 +01:00
2006-08-17 19:58:17 +00:00
2005-10-03 12:12:14 +00:00
2005-07-18 07:52:37 +00:00
2007-01-06 09:49:47 +01:00
2006-10-25 01:05:30 +02:00
2005-09-21 16:43:17 +00:00
2007-01-04 15:34:29 +01:00
2006-01-31 01:38:30 +00:00
2005-06-16 23:46:27 +00:00
2005-08-23 15:06:55 +00:00
2005-07-08 22:55:44 +00:00
2006-12-04 10:06:11 +01:00
2006-12-13 22:03:54 +01:00
2006-08-21 07:30:45 +00:00
2003-07-06 06:08:40 +00:00
2005-12-28 10:22:41 +00:00
2006-11-18 20:00:39 +01:00
2005-05-14 07:58:31 +00:00
2007-01-29 12:08:52 +01:00
2007-01-04 15:34:29 +01:00
2006-08-16 19:36:46 +00:00
2006-10-07 07:08:29 +00:00
2006-08-28 23:29:38 +00:00
2006-08-29 00:32:33 +00:00
2007-01-17 17:15:20 +01:00
2005-12-28 10:22:41 +00:00
2006-10-25 01:05:30 +02:00
2006-03-23 23:56:34 +00:00
2006-12-12 14:34:23 +01:00
2006-10-25 01:05:30 +02:00
2006-10-10 22:57:07 +00:00
2006-10-14 12:02:14 +00:00
2006-10-25 01:05:30 +02:00
2005-05-14 07:58:31 +00:00
2006-10-25 01:05:30 +02:00
2006-07-09 17:04:06 +00:00
2006-07-09 17:08:55 +00:00
2006-11-27 11:27:46 +01:00
2007-01-17 17:15:20 +01:00
2007-01-17 17:15:20 +01:00
2007-01-17 17:15:20 +01:00
2006-09-03 02:53:16 +00:00
2006-11-27 11:27:46 +01:00
2006-04-12 20:14:19 +00:00
2006-11-27 11:27:46 +01:00
2006-09-29 16:52:48 +00:00
2005-12-28 10:22:41 +00:00
2007-01-25 21:56:32 +01:00
2006-09-03 02:53:16 +00:00
2006-11-27 11:27:46 +01:00
2006-10-10 22:57:07 +00:00
2006-09-03 02:53:16 +00:00
2005-07-11 18:25:23 +00:00
2005-05-14 07:58:31 +00:00
2007-01-26 23:58:37 +01:00
2006-08-17 19:58:17 +00:00
2006-10-25 01:05:30 +02:00
2006-12-27 16:00:15 +01:00
2006-12-12 14:34:23 +01:00
2006-07-09 17:08:55 +00:00
2005-11-01 23:42:36 +00:00
2006-10-25 01:05:30 +02:00
2005-07-18 07:53:05 +00:00
2005-05-14 07:58:31 +00:00
2005-06-02 05:17:24 +00:00
2006-08-17 19:58:17 +00:00
2006-07-09 17:05:13 +00:00
2006-12-13 22:03:54 +01:00
2005-12-28 10:22:41 +00:00
2006-08-22 17:42:21 +00:00
2005-05-14 07:58:31 +00:00
2006-10-10 22:57:07 +00:00
2006-08-17 19:58:17 +00:00
2006-10-12 20:39:33 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00