diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-08-05 11:53:26 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-08-05 14:34:58 +0300 |
commit | 48d368e7d53ebdfd7ec0abcdd8340ae339de6030 (patch) | |
tree | 6f610183ec408ffa6dcd63abbbba0276341dbd18 /src/apk_package.h | |
parent | a5146f1b6cb5bb0cf56c6aa8293e26302e5d0ee2 (diff) | |
download | aports-48d368e7d53ebdfd7ec0abcdd8340ae339de6030.tar.bz2 aports-48d368e7d53ebdfd7ec0abcdd8340ae339de6030.tar.xz |
solver: move topology sorting to solver code
this allows quite some optimizations to running time and memory
requirements.
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index 6c6c1bf33e..51d251bb1f 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -80,7 +80,10 @@ struct apk_installed_package { struct apk_package { apk_hash_node hash_node; - unsigned int topology_sort; + union { + int state_int; + void *state_ptr; + }; struct apk_name *name; struct apk_installed_package *ipkg; apk_blob_t *version, *arch, *license; |