Merge desc and depends files in local db
commit21833d90e26635fdd2c6af247790a9bf374b4d80
authorAllan McRae <allan@archlinux.org>
Sat, 30 Oct 2010 05:35:43 +0000 (30 15:35 +1000)
committerDan McGee <dan@archlinux.org>
Mon, 13 Dec 2010 03:42:41 +0000 (12 21:42 -0600)
tree3f386dc01e2016c2c9c7003ec2590d4931769259
parent209d0643e5fd38f8add70cfb3651012993d861f1
Merge desc and depends files in local db

Whenever depends is needed from the local db, so is desc.  The only
disadvantage to merging them is the additional time taken to read the
depends entries when they are not needed.  As depends is in general
relatively small, the additional time taken to read it in will be
negligable.  Also, merging these files will speed up local database
access due to less file seeks.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_local.c
lib/libalpm/be_package.c
lib/libalpm/db.h