From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3TGGEJF001308 for ; Fri, 29 Apr 2005 16:16:14 GMT Received: from p061204002031.ppp.prin.ne.jp ([61.204.2.31] helo=linux.box) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DRYA6-0001a0-NC for gentoo-dev@lists.gentoo.org; Fri, 29 Apr 2005 16:16:20 +0000 Received: by linux.box (Postfix, from userid 1000) id A608145C99; Sat, 30 Apr 2005 01:16:12 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Portage ebuild cruft Date: Sat, 30 Apr 2005 01:16:09 +0900 User-Agent: KMail/1.8 References: <200504281840.23788.lanius@gentoo.org> <200504292339.01522.jstubbs@gentoo.org> <20050429175910.4389f952@eusebe> In-Reply-To: <20050429175910.4389f952@eusebe> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2424048.k5matJ0Thj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200504300116.11989.jstubbs@gentoo.org> X-Archives-Salt: 91841f9f-3b60-4620-817f-67d083c6695e X-Archives-Hash: f7ecd04c57f34d2df25538b243cbbf4d --nextPart2424048.k5matJ0Thj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 30 April 2005 00:59, Thomas de Grenier de Latour wrote: > On Fri, 29 Apr 2005 23:38:58 +0900 > > Jason Stubbs wrote: > > Yep. That's the scanning of all installed packages for any > > provided virtuals. > > Maybe that's a stupid idea, but I wonder whether removing empty > PROVIDE files from the vardb could save some time here. I see > that in grabfile(), if the file can't be opened, then an empty > list is returned, so it would have the same behavior. Does > reading an empty file takes more time than failing to open a > non-existing one? (Yep, I don't know much about how filesystems > actually work...) real 0m9.925s # With real 0m9.913s # Without That's timings for 20 imports of portage. Can't really confirm either way f= rom=20 those results. It might make a difference when the system cache is empty. M= y=20 as yet unnumbered virtuals glep would negate this altogether. ;) Regards, Jason Stubbs --nextPart2424048.k5matJ0Thj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCcl3LxvWNPsk/ZP4RAnGYAJ91r+/RZGnC1RUnVNFxFvTwNUZ5jQCfYpE5 0dXNwXOrqUA0NUw7325lDbM= =Hqw9 -----END PGP SIGNATURE----- --nextPart2424048.k5matJ0Thj-- -- gentoo-dev@gentoo.org mailing list