On Saturday 30 April 2005 00:59, Thomas de Grenier de Latour wrote: > On Fri, 29 Apr 2005 23:38:58 +0900 > > Jason Stubbs <[EMAIL PROTECTED]> 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 from those results. It might make a difference when the system cache is empty. My as yet unnumbered virtuals glep would negate this altogether. ;) Regards, Jason Stubbs
pgp93jOs6iRDL.pgp
Description: PGP signature