Re: Horrible re-packing?
- From
Nicolas Pitre <nico@cam.org>
- Date
- Jun 5, 2006, 21:22 UTC
- Message-ID
- <Pine.LNX.4.64.0606051721180.24152@localhost.localdomain>
- In-Reply-To
- <20060605211436.GA58708@dspnet.fr.eu.org>
On Mon, 5 Jun 2006, Olivier Galibert wrote:
Show 6 quoted lines
> On Mon, Jun 05, 2006 at 12:03:31PM -0700, Linus Torvalds wrote: > > Comments? > > Why don't you just sort the full path+filename with a strcmp variant > that starts by the end of the string for comparison? May at least be > simpler to understand.
Much more expensive for both memory usage and CPU cycles.
Nicolas