13 Nov
2007
13 Nov
'07
5:57 p.m.
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=7653bb93997f52848...
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/