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 1RUmXs-0005CG-TO for garchives@archives.gentoo.org; Sun, 27 Nov 2011 21:45:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFAA521C137; Sun, 27 Nov 2011 21:45:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B44521C0E7; Sun, 27 Nov 2011 21:44:52 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 80A451B4008; Sun, 27 Nov 2011 21:44:51 +0000 (UTC) Message-ID: <4ED2AF52.3050005@gentoo.org> Date: Sun, 27 Nov 2011 13:44:50 -0800 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111120 Thunderbird/8.0 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 To: gentoo-portage-dev@lists.gentoo.org CC: Mike Frysinger , gentoo-dev@lists.gentoo.org, Nirbheek Chauhan , Fabian Groffen Subject: Re: [gentoo-portage-dev] Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/ References: <1d4ac47c28706094230cb2c4e6ee1c1c71629aa0.arfrever@gentoo> <20111126113830.GC37825@gentoo.org> <201111261119.53793.vapier@gentoo.org> In-Reply-To: <201111261119.53793.vapier@gentoo.org> X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2339e11f-4f34-4d11-a7d2-829cfb432499 X-Archives-Hash: 9aa42f79d8ac869c1d24d5448015d464 On 11/26/2011 08:19 AM, Mike Frysinger wrote: > 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. >>> >>> 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. >> >> 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 Okay, reverted: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7c5b170d47ab054bc3f8a7778dd3f8139c1239c6 -- Thanks, Zac