xbps/lib
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
..
compat Improved callback/states support to make libxbps std{err,out} printf free. 2011-11-24 11:23:08 +01:00
external libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
fetch fetch/ftp.c: fix a cast that caught clang via -Wcast-qual. 2010-10-27 00:17:08 +02:00
portableproplib portableproplib: fix gzFile to make it work with zlib-1.2.6. 2012-02-16 08:51:00 +01:00
cb_util.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
download.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
initend.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
Makefile Added support for package conflicts. 2012-06-11 16:14:03 +02:00
package_config_files.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
package_configure.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
package_conflicts.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
package_orphans.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
package_register.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
package_remove_obsoletes.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
package_remove.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
package_requiredby.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
package_state.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
package_unpack.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
pkgdb.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
plist_archive_entry.c XBPS major changes in June 2011. 2011-06-04 13:37:53 +02:00
plist_fetch.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
plist_find.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
plist_match.c libxbps: require an underscore in strings to detect correctly pkgname/version. 2012-06-05 10:58:39 +02:00
plist_remove.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
plist.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
repository_finddeps.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
repository_pool_find.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
repository_pool.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
repository_sync_index.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
transaction_commit.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
transaction_dictionary.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
transaction_ops.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
transaction_package_replace.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
transaction_sortdeps.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
util_hash.c libxbps: require a pointer to xbps_handle in functions that need it. 2012-06-14 08:22:11 +02:00
util.c libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00