libopkg: tighten length of fields in struct abstract_pkg
authorDaniel Golle <daniel@makrotopia.org>
Mon, 2 Nov 2020 16:43:02 +0000 (16:43 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 2 Nov 2020 20:21:01 +0000 (20:21 +0000)
commit532f92debcc24fae94246f9a40ef8aca7547930c
tree10229d2966fb74df9dac16516e31b6e3d27f5a50
parentb4fa2a8f6c2a0149d602db5d1e2dba6145113aaa
libopkg: tighten length of fields in struct abstract_pkg

Should reduce the size of that struct and hence memory consumption
during dependency resolution (48 bytes vs. 56 bytes on 64-bit).

Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libopkg/pkg.h