Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-portage-dev@g.o
From: Zac Medico <zmedico@g.o>
Subject: Re: Re: [gentoo-dev] Re: proj/portage:master commit in: pym/portage/dbapi/
Date: Sun, 27 Nov 2011 13:44:50 -0800
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


References:
Re: proj/portage:master commit in: pym/portage/dbapi/
-- Nirbheek Chauhan
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: proj/portage:master commit in: pym/portage/dbapi/
Next by thread:
Re: proj/portage:master commit in: pym/portage/dbapi/
Previous by date:
Re: RFC: Gentoo News file about GNOME 3.2's unmasking
Next by date:
Re: proj/portage:master commit in: pym/portage/dbapi/


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.