in reply to Code Efficiency
With the added benefit that sort knows how to sort huge lists efficiently. (This is assuming that your shell doesn't have problems with the number of arguments that result from the expansion - but even then, a shell solution is way smaller)sort -u Sub*/*html
But if you really want to save time, you shouldn't look in sorting/uniquing phase. Look at the updating phase. Keep files sorted. Reduce the number of files. Reduce the number of files per directory.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Code Efficiency
by fourmi (Scribe) on Mar 25, 2004 at 13:20 UTC | |
by Juerd (Abbot) on Mar 25, 2004 at 13:23 UTC | |
by krujos (Curate) on Mar 25, 2004 at 14:55 UTC | |
by fourmi (Scribe) on Mar 25, 2004 at 15:38 UTC |