1 |
On Sat, Dec 22, 2007 at 07:09:30AM +0000, Ciaran McCreesh wrote: |
2 |
> On Sat, 22 Dec 2007 03:41:02 +0200 |
3 |
> Petteri Räty <betelgeuse@g.o> wrote: |
4 |
> > Piotr Jaroszyński kirjoitti: |
5 |
> > > This GLEP proposes usage of EAPI-suffixed file extensions for |
6 |
> > > ebuilds (for example, foo-1.2.3.ebuild-1). |
7 |
> > |
8 |
> > It seems many people don't like the idea of having it in the filename |
9 |
> > but how about having subdirectories for different eapis. This should |
10 |
> > even be faster for the package manager as it can just ignore the |
11 |
> > directories it can't understand instead of having to parse the file |
12 |
> > names. |
13 |
> > |
14 |
> > example: |
15 |
> > |
16 |
> > ${PORTDIR}/<category>/<pkg>/eapiX/ |
17 |
> |
18 |
> In terms of what it does and doesn't allow, this one's equivalent. But |
19 |
> it has some new disadvantages: |
20 |
> |
21 |
> * It's several more directory reads. This is a measurable performance |
22 |
> hit on something that's already i/o bound. |
23 |
|
24 |
Among other things, because readdirs cannot be neither readahead nor |
25 |
'advised'. Which is STUPIDLY slow. So adding yet another directory to |
26 |
the hierarchy is quite silly. |
27 |
|
28 |
- ferdy |
29 |
|
30 |
-- |
31 |
Fernando J. Pereda Garcimartín |
32 |
20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4 |