xbps/bin/xbps-rindex
Juan RP d7d749312d xbps-rindex: use xbps_binpkg_{arch,pkgver} for -r (remove-obsoletes).
This is magnituds faster than before; some results:

$ for f in 1 2 3; do time xbps-rindex -r /var/cache/xbps/ &>/dev/null; done

real 0m0.624s
user 0m2.163s
sys 0m0.032s

real 0m0.590s
user 0m2.159s
sys 0m0.023s

real 0m0.584s
user 0m2.144s
sys 0m0.039s

$ for f in 1 2 3; do time LD_PRELOAD=$PWD/lib/libxbps.so.2.0.0 ./bin/xbps-rindex/xbps-rindex -r /var/cache/xbps &>/dev/null; done

real 0m0.037s
user 0m0.030s
sys 0m0.010s

real 0m0.036s
user 0m0.032s
sys 0m0.007s

real 0m0.037s
user 0m0.035s
sys 0m0.006s
$
2014-09-05 21:07:07 +02:00
..
defs.h Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
index-add.c Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
index-clean.c Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
main.c xbps-rindex(8): fix #19. An ATF test-case will be imported later. 2013-11-02 11:34:55 +01:00
Makefile Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
remove-obsoletes.c xbps-rindex: use xbps_binpkg_{arch,pkgver} for -r (remove-obsoletes). 2014-09-05 21:07:07 +02:00
repoflush.c
sign.c Acquire/release a POSIX file lock on repository archives. 2014-09-05 12:26:42 +02:00
xbps-rindex.8 bin/*/*.8: add missing End-List macros (.El). 2014-08-23 09:26:02 +02:00