Jim Meyering acdc74dbf5 Rewrite using save-cwd.c and chdir to remove quadratic component of complexity.
Before, it processed O(n^2) directory name components via stat and mkdir.
Now it's O(n).  This makes mkdir -p a lot more efficient when creating
directories with very many components.  On a Linux 2.0.30 ext2fs filesystem
this command: mkdir -p `perl -e 'print "a/" x 500'`  now runs in 0.77 seconds
(user+sys).  Contrast that with the 9.5(!) seconds it took before.
1997-06-15 13:34:47 +00:00
.
1997-06-14 16:36:22 +00:00
.
1997-06-14 16:36:22 +00:00
1997-06-15 11:42:55 +00:00
1997-02-02 16:05:43 +00:00
1997-06-15 11:47:46 +00:00
.
1997-03-13 03:54:05 +00:00
.
1996-03-24 18:49:38 +00:00
.
1997-02-04 03:29:06 +00:00
1997-06-03 20:01:14 +00:00
S
Description
GNU Coreutils
GPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 55.1%
Shell 29.1%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.1%