diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-01-10 15:33:09 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-12 18:05:52 +0100 |
commit | 633dbeac88316f71f0f5642b4b8b00cc6d262919 (patch) | |
tree | e907c4e890f88de411d17dac15e27c72c92b5ef9 /lib/libalpm/group.c | |
parent | e654236db6b01d21cff7c850efedff183dd86b61 (diff) | |
download | pacman-633dbeac88316f71f0f5642b4b8b00cc6d262919.tar.gz pacman-633dbeac88316f71f0f5642b4b8b00cc6d262919.tar.xz |
small checkdeps speed-up
In the old code 'alpm_list_diff(_alpm_db_get_pkgcache(db), dblist,
_alpm_pkg_cmp);' was slow.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
[Xav: In my opinion, computing both dblist and modified in one for loop also makes
the code clearer, besides being more efficient.
Also renamed joined to targets since I also find that clearer.]
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/group.c')
0 files changed, 0 insertions, 0 deletions