Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EBUILD_FORMAT support
Date: Thu, 07 Jul 2005 20:45:04
Message-Id: 20050707204223.GB15563@curie-int.orbis-terrarum.net
In Reply to: Re: [gentoo-dev] EBUILD_FORMAT support by Donnie Berkholz
1 On Thu, Jul 07, 2005 at 10:52:06AM -0700, Donnie Berkholz wrote:
2 > > strlen(EBUILD_FORMAT) * 19546 = 249K
3 > > strlen(EAPI) * 19546 = 77K
4 > > strlen(EV) * 19546 = 39K
5 > >
6 > > Where 19546 is the number if ebuilds in the tree as.
7 > So, the size of the tree is 500216K. This makes the percent increase in
8 > size for the options above 0.0005%, 0.0002% and 0.0001% respectively. In
9 > any case, nearly irrelevant to its present size.
10
11 Probably should count some more formatting too.
12 strlen(EBUILD_FORMAT="") = 16, 16 * 19546 = 306K
13 strlen(EAPI="") = 7, 7 * 19546 = 134K
14 strlen(EV="") = 5, 5 * 19546 = 96K
15
16 Don't just count the 4K blocks. Count the actual data instead (du -b).
17 The tree contains 95912503 bytes of data, including metadata.
18 Excluding metadata it is 85301916 bytes.
19
20 It's still less than 0.4% increase in the worst case.
21
22 I like the 'EAPI' variant, as it's clearly seperate from 'EV', without
23 being too long.
24
25 To combat some of the increase, EAPI only needs to go into new ebuilds
26 that use the functionality. Old ebuilds should default to the current
27 syntax.
28
29 --
30 Robin Hugh Johnson
31 E-Mail : robbat2@××××××××××××××.net
32 Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
33 ICQ# : 30269588 or 41961639
34 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] EBUILD_FORMAT support Paul de Vrieze <pauldv@g.o>