Go to file
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
bin libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
data
doc xbps_pkg_files_dictionary.dot: add mutable boolean object. 2012-02-06 13:50:30 +01:00
etc Welcome "repository index format 1.5". See NEWS for information. 2012-05-31 16:29:56 +02:00
include libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
lib libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
mk Make xbps_find_virtualpkg_conf_in_xxx_by_xxx part of the API and add kyua tests. 2012-03-12 17:51:50 +01:00
tests libxbps: performance improvements by caching the most accessed paths. 2012-06-15 15:33:11 +02:00
.gitignore Ignore generated binaries from testsuite. 2012-05-31 11:58:40 +02:00
3RDPARTY libxbps: move xbps_pkgpattern_match to util.c and simplify. 2012-05-30 22:38:35 +02:00
configure Revert "libxbps: implement xbps_file_exec() with posix_spawn()." 2012-05-30 17:26:25 +02:00
COPYING Revert "libxbps: implement xbps_file_exec() with posix_spawn()." 2012-05-30 17:26:25 +02:00
Makefile Commit Kyua/ATF test suite for libxbps. 2012-03-12 15:23:04 +01:00
NEWS Added support for package conflicts. 2012-06-11 16:14:03 +02:00
README README: fix confuse url. 2012-05-22 13:06:04 +02:00
TODO Added support for package conflicts. 2012-06-11 16:14:03 +02:00

See http://code.google.com/p/xbps for information.

To build this you'll need:

  - pkg-config.
  - zlib (development package with static libs).
  - openssl (development package with static libs).
  - libarchive >= 2.8.0 (development package with static libs) [0].
  - confuse >= 2.7 (development package with static libs) [1].

and optionally:

  - graphviz and doxygen (--with-api-docs) to build API documentation.
  - atf >= 0.15 (--with-tests) to build the Kyua test suite [2].

Just run ./configure && make && make install. By default PREFIX is set
to `/usr/local', can be changed by setting --prefix. The DESTDIR variable
is also supported for package managers.

There are some more options that can be tweaked, see them with
`./configure --help'.

Good luck!

[0] http://libarchive.github.com
[1] http://www.nongnu.org/confuse
[2] http://code.google.com/p/kyua