Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Ivan Voras <ivoras@xxxxxx>
- Date: Sun, 27 May 2007 23:59:07 +0200
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. Now
"make -V PKGNAME" should be a speedy operation, but the make has to load
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?
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Matthew Seaman
- Re: Looking for speed increases in "make index" and pkg_version for ports
- From: Stephen Montgomery-Smith
- Re: Looking for speed increases in "make index" and pkg_version for ports
- Prev by Date: Re: Looking for speed increases in "make index" and pkg_version for ports
- Next by Date: Re: Looking for speed increases in "make index" and pkg_version for ports
- Previous by thread: Re: Looking for speed increases in "make index" and pkg_version for ports
- Next by thread: Re: Looking for speed increases in "make index" and pkg_version for ports
- Index(es):
Relevant Pages
|
|