From: Nicolas Pitre Date: Mon, 05 Jun 2006 21:22:02 GMT Subject: Re: Horrible re-packing? Message-ID: In-Reply-To: <20060605211436.GA58708@dspnet.fr.eu.org> On Mon, 5 Jun 2006, Olivier Galibert wrote: > 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