From owner-freebsd-hackers@FreeBSD.ORG Mon May 28 16:13:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29B9F16A478 for ; Mon, 28 May 2007 16:13:53 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C02FC13C4C3 for ; Mon, 28 May 2007 16:13:52 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HsQm1-0005Qg-PL for freebsd-hackers@freebsd.org; Sun, 27 May 2007 23:59:37 +0200 Received: from 89-172-38-217.adsl.net.t-com.hr ([89.172.38.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2007 23:59:37 +0200 Received: from ivoras by 89-172-38-217.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2007 23:59:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 27 May 2007 23:59:07 +0200 Lines: 38 Message-ID: References: <4659EF80.70100__16104.363036766$1180300054$gmane$org@math.missouri.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig454B174B5ADF28F119C54376" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-38-217.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <4659EF80.70100__16104.363036766$1180300054$gmane$org@math.missouri.edu> X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Looking for speed increases in "make index" and pkg_version for ports X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 16:13:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig454B174B5ADF28F119C54376 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Stephen Montgomery-Smith wrote: > I have been thinking a lot about looking for speed increases for "make > index" and pkg_version and things like that. So for example, in > pkg_version, it calls "make -V PKGNAME" for every installed package. No= w > "make -V PKGNAME" should be a speedy operation, but the make has to loa= d > in and analyze bsd.port.mk, a quite complicated file with about 200,000= > characters in it, when all it is needing to do is to figure out the > value of the variable PKGNAME. As long as far-out ideas are being discussed, how about caching such information (including dependenices) in a file (I'd call it a database but then I'd had to start a holy war :) ) so it's calculated only once, preferably on the portsnap / cvsup servers and not at the end-user? --------------enig454B174B5ADF28F119C54376 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWf8xldnAQVacBcgRAhl6AKDaHYZIlEBgza3cOmZjGM4Zb0NADACfYaJy P4uaLCOlza+LjIZmsbl1zmQ= =7oxu -----END PGP SIGNATURE----- --------------enig454B174B5ADF28F119C54376--