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