[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.0.0-531-gd0d5848
Aaron Griffin
aaron at archlinux.org
Wed Nov 7 16:23:07 EST 2007
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".
The branch, master has been updated
via d0d58489ff8b4458719e4bceb6a5d7290c99588a (commit)
via 2ee90ddae23dd86c68223c0d6c49f0b92d62429d (commit)
from bdab234d977dd2e9417a39f5191e495d5c460ee7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d0d58489ff8b4458719e4bceb6a5d7290c99588a
Author: Aaron Griffin <aaronmgriffin at gmail.com>
Date: Tue Nov 6 22:50:21 2007 -0600
Add STRDUP macro to mirror MALLOC/CALLOC
Signed-off-by: Aaron Griffin <aaronmgriffin at gmail.com>
commit 2ee90ddae23dd86c68223c0d6c49f0b92d62429d
Author: Aaron Griffin <aaronmgriffin at gmail.com>
Date: Tue Nov 6 00:55:45 2007 -0600
Maintain list tail pointers in the head node
List head nodes contain null 'prev' pointer, which we can (ab)use to maintain a
back reference to the tail pointer of the list.
While list additions are not _significantly_ improved, they are still sped up.
Original
$ time pacman -Qo /usr/bin/wtpt
/usr/bin/wtpt is owned by lcms 1.17-2
real 0m3.623s
user 0m1.883s
sys 0m1.473s
New
$ time pacman -Qo /usr/bin/wtpt
/usr/bin/wtpt is owned by lcms 1.17-2
real 0m2.006s
user 0m0.263s
sys 0m1.627s
Signed-off-by: Aaron Griffin <aaronmgriffin at gmail.com>
-----------------------------------------------------------------------
Summary of changes:
lib/libalpm/alpm_list.c | 59 +++++++++++++++++++++++++++++++++++------------
lib/libalpm/remove.c | 3 +-
lib/libalpm/util.h | 2 +
3 files changed, 48 insertions(+), 16 deletions(-)
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list