[pacman-dev] [PATCH 0/2] Remove REQUIREDBY usage

Nagy Gabor ngaba at bibl.u-szeged.hu
Tue Nov 13 12:57:39 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.

compute_requiredby_first? ;-)

Bye, ngaba


----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/





More information about the pacman-dev mailing list