From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from caine.easynet.fr (smarthost161.mail.easynet.fr [212.180.1.161]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3TFxZoZ027689 for ; Fri, 29 Apr 2005 15:59:35 GMT Received: from easyconnect2121138-64.clients.easynet.fr ([212.11.38.64] helo=eusebe) by caine.easynet.fr with esmtp (Exim 4.34) id 1DRXu1-0003gR-Fz for gentoo-dev@lists.gentoo.org; Fri, 29 Apr 2005 17:59:41 +0200 Date: Fri, 29 Apr 2005 17:59:10 +0200 From: Thomas de Grenier de Latour To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Portage ebuild cruft Message-ID: <20050429175910.4389f952@eusebe> In-Reply-To: <200504292339.01522.jstubbs@gentoo.org> References: <200504281840.23788.lanius@gentoo.org> <200504291526.25804@zippy.emcb.local> <200504292339.01522.jstubbs@gentoo.org> Organization: Fasmz X-Mailer: Sylpheed-Claws 1.0.0cvs21.1 (GTK+ 2.6.7; i686-pc-linux-gnu) 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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: b137ac3f-63b1-4551-aedb-c26c29042b4f X-Archives-Hash: f7f7b379d43ec6f068542299f41f81eb 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...) -- TGL. -- gentoo-dev@gentoo.org mailing list