xbps/bin
Juan RP 06c9891ae3 xbps_transaction_*: multiple performance improvements (v2).
This commit implements multiple performance improvements
to the transaction code:

- Don't process xbps_pkg_name() N times each time we access
  its package dictionary (via pkgdb or rpool), just do it once
  at xbps_pkgdb_init() time. At pkgdb init time, it just creates
  a property in pkgdb, "pkgname". At rpool time, each time a
  package is accessed, the "pkgname" string property is added.

- The package transaction dictionary contains the "transaction"
  object to know what's the pkg type. This has been changed to an
  uint8, this simplifies the logic and it's faster than checking
  a string object. See xbps_trans_type_t and xbps_transaction_pkg_type().

- Fixed the issue that was marked with XXX in transaction shlibs
  checking code. This has been fixed and improved and resources are
  now just freed as expected.

- Simplified random code all over the place, avoiding unnecessary
  allocations or operations.

- Rename some transaction files to have a better description.

This is my first rototill to the code in 2020.
2020-02-21 09:37:32 +01:00
..
xbps-alternatives Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
xbps-checkvers bin/xbps-checkvers: mistake in manpage 2020-01-30 08:01:12 +01:00
xbps-create libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-dgraph Fix maybe-uninitialized warnings detected by LTO. 2019-12-27 10:53:10 +01:00
xbps-digest libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-fbulk xbps-fbulk: do not make assert() change program behaviour. 2019-07-06 08:37:47 +02:00
xbps-fetch libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-install xbps_transaction_*: multiple performance improvements (v2). 2020-02-21 09:37:32 +01:00
xbps-pkgdb libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-query Added LTO support and fix warnings (maybe-uninitialized). 2019-06-27 18:09:26 +02:00
xbps-reconfigure xbps-*: use xbps_pkgdb_update() correctly. 2019-06-22 18:50:40 +02:00
xbps-remove libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-rindex libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-uchroot xbps-uchroot: fix indentation 2020-02-13 09:06:29 +01:00
xbps-uhelper libxbps: ABI/API break due to hash function changes 2020-02-10 13:32:17 +01:00
xbps-uunshare xbps-uunshare: document end of options argument 2019-11-24 12:28:45 +01:00
Makefile xbps-fetch(1): new utility that replaces 'xbps-uhelper fetch'. 2019-06-12 18:07:24 +02:00