diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-12 21:28:22 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-23 20:13:01 -0600 |
commit | 8240da6cb3ff95ad480efe3e1876104024398fae (patch) | |
tree | 124bf5ca94dbfa3aa8361fd20ec066b784770581 /submitting-patches | |
parent | bd43a7f155cbd54d58fb45285e2eef1f51c88b00 (diff) | |
download | pacman-8240da6cb3ff95ad480efe3e1876104024398fae.tar.xz |
libalpm/cache.c : don't duplicate packages in pkgcache.
Edit _alpm_db_add_pkgincache to not duplicate packages, because this is not
needed, is slower, and uses more memory. This made the max memory usage
during base reinstall go from 10.4MB to 9.7MB.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'submitting-patches')
0 files changed, 0 insertions, 0 deletions