Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   EAPI subdirectories instead of file name suffixes (http://www.linux-archive.org/gentoo-development/21348-eapi-subdirectories-instead-file-name-suffixes.html)

"Fernando J. Pereda" 12-22-2007 10:59 AM

EAPI subdirectories instead of file name suffixes
 
On Sat, Dec 22, 2007 at 07:09:30AM +0000, Ciaran McCreesh wrote:
> On Sat, 22 Dec 2007 03:41:02 +0200
> Petteri Räty <betelgeuse@gentoo.org> wrote:
> > Piotr Jaroszyński kirjoitti:
> > > This GLEP proposes usage of EAPI-suffixed file extensions for
> > > ebuilds (for example, foo-1.2.3.ebuild-1).
> >
> > It seems many people don't like the idea of having it in the filename
> > but how about having subdirectories for different eapis. This should
> > even be faster for the package manager as it can just ignore the
> > directories it can't understand instead of having to parse the file
> > names.
> >
> > example:
> >
> > ${PORTDIR}/<category>/<pkg>/eapiX/
>
> In terms of what it does and doesn't allow, this one's equivalent. But
> it has some new disadvantages:
>
> * It's several more directory reads. This is a measurable performance
> hit on something that's already i/o bound.

Among other things, because readdirs cannot be neither readahead nor
'advised'. Which is STUPIDLY slow. So adding yet another directory to
the hierarchy is quite silly.

- ferdy

--
Fernando J. Pereda Garcimart*n
20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4


All times are GMT. The time now is 12:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.