diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-10-08 12:25:43 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-10-08 12:25:43 +0300 |
commit | 01d0e4c408ec5096784c59d5f470960fbb2f3753 (patch) | |
tree | c30722337ed8506cb3831a0eb8e0c89ede427975 /src/apk_package.h | |
parent | 831bce5cf90dea266f53a0d82c7371e4652c524c (diff) | |
download | apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.tar.gz apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.tar.bz2 apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.tar.xz apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.zip |
solver: optimize backjumping
to be functional when backtracking
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index bd2bbe3..fdc0b8d 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -60,7 +60,8 @@ struct apk_sign_ctx { struct apk_dependency { struct apk_name *name; apk_blob_t *version; - unsigned short repository_tag; + unsigned solver_state : 22; + unsigned repository_tag : 6; unsigned conflict : 1; unsigned result_mask : 3; }; |