xbps/bin/xbps-repo
Juan RP 068cab8d20 libxbps: performance improvements by caching the most accessed paths.
1- We can cache the result of the first xbps_pkgdb_init() when it fails
   and avoid the malloc/free/access from it.
2- We cache the uname(2) result into a private var in xbps_handle and
   use it in xbps_pkg_arch_match().

This improves performance by ~5% approx and it's close as it was before
introducing the repository index format 1.5.
2012-06-15 15:33:11 +02:00
..
clean.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
defs.h libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
find-files.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
index-files.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
index.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
list.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
main.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
Makefile xbps-repo(8): new target 'clean': removes obsolete binpkgs from cachedir. 2012-05-05 10:07:47 +02:00
show.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
xbps-repo.8 xbps-repo.8: rewording. 2012-06-05 14:42:03 +02:00