Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: Re: GLEP 55
Date: Tue, 10 Jun 2008 14:57:19 +0100
On Tue, 10 Jun 2008 07:49:31 -0600
Joe Peterson <lavajoe@g.o> wrote:
> > No, it doesn't make parsing faster. Had you bothered to profile
> > any package manager you'd know that.
> 
> No, I have not profiled PMs to try this, but you are saying that
> reading the first few lines of a file is not faster than sourcing the
> whole thing with bash?  Remember that it could abort the minute it
> sees a non '#' or blank line, which would be after the first few.

The package manager does not currently source the whole thing with
bash to get the EAPI, nor does it open the ebuild file at all for
metadata. You're talking doubling the number of file operations here,
and going from extremely good filesystem locality (which means very few
seeks) to jumping backwards and forwards all over the place.

This is basic stuff you really need to know before you can comment
sensibly on a discussion about package metadata.

-- 
Ciaran McCreesh
Attachment:
signature.asc (PGP signature)
Replies:
Re: Re: GLEP 55
-- Rémi Cardona
References:
A few questions to our nominees
-- Piotr Jaroszyński
Re: A few questions to our nominees
-- Donnie Berkholz
Re: A few questions to our nominees
-- Joe Peterson
Re: A few questions to our nominees
-- pioto
Re: GLEP 55 (was: A few questions to our nominees)
-- Joe Peterson
Re: GLEP 55 (was: A few questions to our nominees)
-- Ciaran McCreesh
Re: GLEP 55
-- Joe Peterson
Re: GLEP 55
-- Ciaran McCreesh
Re: GLEP 55
-- Joe Peterson
Re: GLEP 55
-- Ciaran McCreesh
Re: GLEP 55
-- Joe Peterson
Re: GLEP 55
-- Tiziano Müller
Re: Re: GLEP 55
-- Luca Barbato
Re: Re: GLEP 55
-- Joe Peterson
Re: Re: GLEP 55
-- Fernando J. Pereda
Re: Re: GLEP 55
-- Joe Peterson
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: GLEP 55
Next by thread:
Re: Re: GLEP 55
Previous by date:
Re: Re: GLEP 55
Next by date:
Re: Re: GLEP 55


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.