From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-48766-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RULDm-0001FX-9d
	for garchives@archives.gentoo.org; Sat, 26 Nov 2011 16:35:22 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 40CAA21C141;
	Sat, 26 Nov 2011 16:35:14 +0000 (UTC)
Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id B853521C057;
	Sat, 26 Nov 2011 16:34:50 +0000 (UTC)
Received: by ghrr13 with SMTP id r13so5571493ghr.40
        for <multiple recipients>; Sat, 26 Nov 2011 08:34:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:cc:content-type
         :content-transfer-encoding;
        bh=RrpqY4v7JC+uWQRuhufs7/vyoZXjMM44UkYVrA1+q4U=;
        b=cr20orF2WldojVkpo0MHi+rBQ9gKPqsDVMEEEMuaE5RHISTz2TWM5xj0KfVcpjcRHL
         +B/iM4pV/RX4u/uD1zgY8TeSKu2ywsIuDVgrTS+RIuqIfB7H+ftFKfUKhpG9p/LQv1z2
         xHyRXciVuSru390yTDjDcHVj+TUUlhQlmlFVs=
Received: by 10.182.227.7 with SMTP id rw7mr11145380obc.70.1322325290204; Sat,
 26 Nov 2011 08:34:50 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Sender: nirbheek.chauhan@gmail.com
Received: by 10.182.150.3 with HTTP; Sat, 26 Nov 2011 08:34:29 -0800 (PST)
In-Reply-To: <201111261119.53793.vapier@gentoo.org>
References: <1d4ac47c28706094230cb2c4e6ee1c1c71629aa0.arfrever@gentoo>
 <20111126113830.GC37825@gentoo.org> <CADqQcK5pW7nWnqPXc_yu6N0Kpfqd+Ekif-uS_g3A3L_dyykkMA@mail.gmail.com>
 <201111261119.53793.vapier@gentoo.org>
From: Nirbheek Chauhan <nirbheek@gentoo.org>
Date: Sat, 26 Nov 2011 22:04:29 +0530
X-Google-Sender-Auth: X37qkmujL-f9vuljsdIV9BwMxdw
Message-ID: <CADqQcK707spjMWaoh2LuYPZkYwbJbivrfX=Y1RPtONu3puTzUg@mail.gmail.com>
Subject: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/
To: Mike Frysinger <vapier@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, Fabian Groffen <grobian@gentoo.org>, 
	gentoo-portage-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: aba50ef3-766f-4e32-87ca-f9054ba40d63
X-Archives-Hash: 413e6ae0541294adae61350e58f00a62

On Sat, Nov 26, 2011 at 9:49 PM, Mike Frysinger <vapier@gentoo.org> 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 po=
int in
> sorting the entries. =C2=A0we've been doing fine so far in the 10+ years =
of it being
> unsorted. =C2=A0so unless Arfrever has a compelling reason, time to rever=
t.
> -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.

--=20
~Nirbheek Chauhan

Gentoo GNOME+Mozilla Team