[pacman-dev] [PATCH 0/2] Remove REQUIREDBY usage
Aaron Griffin
aaronmgriffin at gmail.com
Tue Nov 13 13:26:55 EST 2007
On Nov 12, 2007 11:28 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> And continuing the trend of replying to myself, and showing why
> optimizing the small little parts of code can make a huge difference:
> $ time pacman -Qt > /dev/null
> real 0m0.089s
> user 0m0.023s
> sys 0m0.040s
>
> $ time ./src/pacman/pacman -Qt > /dev/null
> real 0m0.377s
> user 0m0.277s
> sys 0m0.063s
>
> This is a 5x increase in speed by making the change I described above
> in the previous email. I'll push a branch to my GIT repo tonight
> detailing the changes.
Dan, my hero. Looks like pacman 3.1 is going to be significantly better - yay.
One question while we're on this - we're probably going to need a
small script to clean out the requiredby entries from the local DB,
just to be concise - of course we should back up the DB first 8)
More information about the pacman-dev
mailing list