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.

How much is parsing speed relevant when users in majority of cases already have the metadata cache from the rsync servers? For devs (or users) hacking on an ebuild they have to source it anyway so the addition pre-parsing is negligible...

VB
--
gentoo-dev@lists.gentoo.org mailing list

Reply via email to