small checkdeps speed-up
commit633dbeac88316f71f0f5642b4b8b00cc6d262919
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Thu, 10 Jan 2008 14:33:09 +0000 (10 15:33 +0100)
committerDan McGee <dan@archlinux.org>
Sat, 12 Jan 2008 17:05:52 +0000 (12 11:05 -0600)
treee907c4e890f88de411d17dac15e27c72c92b5ef9
parente654236db6b01d21cff7c850efedff183dd86b61
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>
lib/libalpm/deps.c