Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2007 23:59:07 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Looking for speed increases in "make index" and pkg_version for ports
Message-ID:  <f3cuvl$3q5$1@sea.gmane.org>
In-Reply-To: <4659EF80.70100__16104.363036766$1180300054$gmane$org@math.missouri.edu>
References:  <4659EF80.70100__16104.363036766$1180300054$gmane$org@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f3cuvl$3q5$1>