diff options
author | Allan McRae <allan@archlinux.org> | 2010-10-30 15:35:43 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-12 21:42:41 -0600 |
commit | 21833d90e26635fdd2c6af247790a9bf374b4d80 (patch) | |
tree | 3f386dc01e2016c2c9c7003ec2590d4931769259 /lib/libalpm/db.h | |
parent | 209d0643e5fd38f8add70cfb3651012993d861f1 (diff) | |
download | pacman-21833d90e26635fdd2c6af247790a9bf374b4d80.tar.xz |
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>
Diffstat (limited to 'lib/libalpm/db.h')
-rw-r--r-- | lib/libalpm/db.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h index 5352e9ee..133b0959 100644 --- a/lib/libalpm/db.h +++ b/lib/libalpm/db.h @@ -34,12 +34,11 @@ typedef enum _pmdbinfrq_t { INFRQ_BASE = 1, INFRQ_DESC = (1 << 1), - INFRQ_DEPENDS = (1 << 2), - INFRQ_FILES = (1 << 3), - INFRQ_SCRIPTLET = (1 << 4), - INFRQ_DSIZE = (1 << 5), + INFRQ_FILES = (1 << 2), + INFRQ_SCRIPTLET = (1 << 3), + INFRQ_DSIZE = (1 << 4), /* ALL should be info stored in the package or database */ - INFRQ_ALL = 0x3F + INFRQ_ALL = 0x1F } pmdbinfrq_t; struct db_operations { |