[pacman-dev] [PATCH 0/2] Remove REQUIREDBY usage
Xavier
shiningxc at gmail.com
Tue Nov 13 12:53:26 EST 2007
On Tue, Nov 13, 2007 at 02:05:27PM +0100, Nagy Gabor wrote:
> Hmm.
> http://projects.archlinux.org/git/?p=pacman.git;a=commit;h=7653bb93997f52848b54ab80868cd6da52808a75
> we can spare the first strdup, if you backup *ptr then reset before return.
>
That doesn't seem to help much, no measurable differences.
> Some other suggestions:
> 2. -Qt needn't compute all the requiredby packages, it can stop if he find the
> first requiredby (no orphan).
That would help indeed : 280ms -> 200ms. I doubt anyone could notice that though :)
And I don't know how to do it properly.
More information about the pacman-dev
mailing list