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 ) id 1RUKzS-0006lA-Rw for garchives@archives.gentoo.org; Sat, 26 Nov 2011 16:20:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73BD221C0C7; Sat, 26 Nov 2011 16:20:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6580921C03E; Sat, 26 Nov 2011 16:19:37 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6EBC31B4023; Sat, 26 Nov 2011 16:19:35 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/ Date: Sat, 26 Nov 2011 11:19:52 -0500 User-Agent: KMail/1.13.7 (Linux/3.1.1; KDE/4.6.5; x86_64; ; ) Cc: Nirbheek Chauhan , Fabian Groffen , gentoo-portage-dev@lists.gentoo.org References: <1d4ac47c28706094230cb2c4e6ee1c1c71629aa0.arfrever@gentoo> <20111126113830.GC37825@gentoo.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13938127.gUT7ZNWmBv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201111261119.53793.vapier@gentoo.org> X-Archives-Salt: fc62f78a-aadb-4404-b3b7-18260c3c0529 X-Archives-Hash: fc3e3544b0020956ba138bb431c7b056 --nextPart13938127.gUT7ZNWmBv Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 26 November 2011 07:50:27 Nirbheek Chauhan wrote: > On Sat, Nov 26, 2011 at 5:08 PM, Fabian Groffen wrote: > > On 26-11-2011 16:56:41 +0530, Nirbheek Chauhan wrote: > >> [...] Besides, sorting even 30,000 > >> entries (if you're merging every ebuild in portage) should not take > >> more than a few secs. > >=20 > > A linux kernel has around that much of files, and I really wonder if > > it's worth waiting a couple of seconds (probably more on sparc and arm > > systems) just because then the files are in sorted order. >=20 > 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 poin= t in=20 sorting the entries. we've been doing fine so far in the 10+ years of it b= eing=20 unsorted. so unless Arfrever has a compelling reason, time to revert. =2Dmike --nextPart13938127.gUT7ZNWmBv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJO0RGpAAoJEEFjO5/oN/WB/1sQANaVUJ1PVWIq1hKPxIdOy5MS cLQLiDtZq5vLP3yO70wDjRzHIW4CGMjfYJ5n72HWThpuQuL6mmBk5YGezuwBJX0s N6rpjX9ox7ZoawH1uJiWyhDq6gRMHq2MQv+y5WyXzpjI7hfZE7EXT7QlMNXj1BXF DpyPSIMPJ7CvdGEyppqJ5rGKrCY9ONCRu/YNUx2T2HOml/GDUmnW0JmVMi8yNE9c hkcxv7G2B9g7crCfOhnW2yhET+EgTMIYJvu0TsmsshGJnYecQg9wa3S6/pvPAScD 3gLxBUvTRgBx+5Nu6xdpTmLN6G4RMKX5aqBHFeRd34Bw88NXGuwlZqI/gJHNbTR+ h1ibmE1rFHOhnqoqUPRakrvyRhYgho+PBeytwbi/Oxzeu6VV4Gy0f4CF5y1ZdxBf IUGWSVhgJv68Uh0oFgc5fvuidZ3aD9LRszPqQODpXrgwN7ZMQvk1QbR/y++HDO9H ad0RjFVrkLUG5J8vS3AjESLXkwjtO80pEAy4TwZq8fBvSuA9ZugfqBFBwe0FgPW6 uPiTo1OEDYO12r8s7S6rtcUSg/HrbwlczApnbp0H3bXwhnHbiiI8Q1xQc+ZCZPvM SH1wOvXWTo7wN3oFLJImxhC18tU7byz0ytLUmKEh0Cae9xTCG5cFaFs5OT63PaIZ WR5bKLWmCas9UCAI1wRY =QP6q -----END PGP SIGNATURE----- --nextPart13938127.gUT7ZNWmBv--