Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-dev@l.g.o, Fabian Groffen <grobian@g.o>, gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/
Date: Sat, 26 Nov 2011 16:35:22
In Reply to: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/ by Mike Frysinger
On Sat, Nov 26, 2011 at 9:49 PM, Mike Frysinger <vapier@g.o> wrote:
> On Saturday 26 November 2011 07:50:27 Nirbheek Chauhan wrote: >> I'm not sure the two are really comparable. However, looking at a >> simple string sort on 30,000 strings, I don't see it taking a >> significant amount of time at all: > > sure, it's probably not significantly higher, but i also can't see any point in > sorting the entries.  we've been doing fine so far in the 10+ years of it being > unsorted.  so unless Arfrever has a compelling reason, time to revert. > -mike >
I agree. My argument was that if sorting has some benefit, the cost is negligible, and it should be done properly. If the benefits of the sorting are non-existent, or if it causes problems as Ciaran pointed out, then sorting should not be done. -- ~Nirbheek Chauhan Gentoo GNOME+Mozilla Team