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: Joe Peterson <lavajoe@g.o>
Subject: Re: Re: GLEP 55
Date: Tue, 10 Jun 2008 07:49:31 -0600
Fernando J. Pereda wrote:
> On 10 Jun 2008, at 15:33, Joe Peterson wrote:
> 
>> Luca Barbato wrote:
>>> Check if exists a line EAPI=*$, if does and the rest of the string
>>> matches an understood eapi, go on sourcing, otherwise ignore/mask  
>>> it...
>> And placing it out-of-band (like "# EAPI=...") avoids any sourcing
>> errors, makes parsing faster, etc.
> 
> 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.

					-Joe
-- 
gentoo-dev@g.o mailing list


Replies:
Re: Re: GLEP 55
-- Ciaran McCreesh
Re: Re: GLEP 55
-- Richard Freeman
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
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: 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.