From: Jason Stubbs <jstubbs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Portage ebuild cruft
Date: Sat, 30 Apr 2005 01:16:09 +0900 [thread overview]
Message-ID: <200504300116.11989.jstubbs@gentoo.org> (raw)
In-Reply-To: <20050429175910.4389f952@eusebe>
[-- Attachment #1: Type: text/plain, Size: 969 bytes --]
On Saturday 30 April 2005 00:59, Thomas de Grenier de Latour wrote:
> On Fri, 29 Apr 2005 23:38:58 +0900
>
> Jason Stubbs <jstubbs@gentoo.org> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-04-29 16:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 16:40 [gentoo-dev] Portage ebuild cruft Heinrich Wendel
2005-04-28 21:28 ` Brian Harring
2005-04-28 22:22 ` Tom Wesley
2005-04-28 23:17 ` Athul Acharya
2005-04-29 13:29 ` Jason Wever
2005-04-29 13:58 ` Jason Stubbs
2005-04-29 14:11 ` Jason Wever
2005-04-29 14:26 ` Elfyn McBratney
2005-04-29 14:38 ` Jason Stubbs
2005-04-29 15:59 ` Thomas de Grenier de Latour
2005-04-29 16:16 ` Jason Stubbs [this message]
2005-04-29 16:38 ` Lina Pezzella
2005-04-29 16:51 ` Jason Stubbs
2005-04-29 17:30 ` Thomas de Grenier de Latour
2005-04-29 20:25 ` Jan Kundrát
2005-04-30 3:23 ` Jason Stubbs
2005-04-30 10:31 ` Sune Kloppenborg Jeppesen
2005-04-30 11:12 ` Marius Mauch
2005-04-30 12:07 ` Sune Kloppenborg Jeppesen
2005-04-30 12:27 ` Elfyn McBratney
2005-04-30 12:38 ` Georgi Georgiev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504300116.11989.jstubbs@gentoo.org \
--to=jstubbs@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox