1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/lib/libalpm
Aaron Griffin 726e90dc2c Jürgen Hötzel <juergen@hoetzel.info>
* avoid repeated regex compilations (regex for search string do not
 change while scanning the package database)

* remove needless string duplication (regex function do not change target
 string nor free them)

* code cleanup

This patch improves search performance:

bash-3.2$ time ./src/pacman/pacman.static.old -Ss "(database|web).*server" >/dev/null

real    0m1.026s
user    0m0.544s
sys     0m0.208s
bash-3.2$ time ./src/pacman/pacman.static -Ss "(database|web).*server" >/dev/null

real    0m0.777s
user    0m0.456s
sys     0m0.128s
bash-3.2$
2007-01-17 03:57:53 +00:00
..
po cvsignore cleanup and additions 2007-01-17 03:40:08 +00:00
.cvsignore added .cvsignore files 2006-03-27 17:17:35 +00:00
add.c * bug fix FS#6100 - fix --print-uris output 2007-01-03 08:05:13 +00:00
add.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
alpm.c * Dan McGee <dpmcgee@gmail.com> 2007-01-11 17:32:49 +00:00
alpm.h Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info> 2006-12-22 19:38:55 +00:00
backup.c Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info> 2006-12-22 19:38:55 +00:00
backup.h A handful of minor changes: 2006-10-20 06:26:55 +00:00
be_files.c * Missing error label in sync.c 2007-01-02 22:29:48 +00:00
cache.c * Jrgen Htzel <juergen@hoetzel.info> 2007-01-11 17:44:39 +00:00
cache.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
conflict.c * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc) 2006-11-22 09:03:41 +00:00
conflict.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
db.c Jürgen Hötzel <juergen@hoetzel.info> 2007-01-17 03:57:53 +00:00
db.h Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info> 2006-12-22 19:38:55 +00:00
deps.c Corrected -Rsc operation - dependancy info was not being read from the DB 2006-12-05 07:00:22 +00:00
deps.h * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc) 2006-11-22 09:03:41 +00:00
Doxyfile added Doxyfile 2005-11-21 22:14:32 +00:00
error.c * makepkg.conf.in variable changes (missed the checkin) 2006-11-16 17:24:41 +00:00
error.h * Cosmetic changes and typo fixes 2006-12-01 09:32:29 +00:00
group.c * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
group.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
handle.c Corrected -Rsc operation - dependancy info was not being read from the DB 2006-12-05 07:00:22 +00:00
handle.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
list.c * Jrgen Htzel <juergen@hoetzel.info> 2007-01-11 17:44:39 +00:00
list.h * Jrgen Htzel <juergen@hoetzel.info> 2007-01-11 17:44:39 +00:00
log.c * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
log.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
Makefile.am * Dan McGee's makepkg updates http://www.archlinux.org/pipermail/pacman-dev/2006-December/000792.html 2006-12-14 05:23:08 +00:00
md5.c Merged frugalware changes (too many to list). Also added some config file 2006-10-15 19:31:03 +00:00
md5.h Merged frugalware changes (too many to list). Also added some config file 2006-10-15 19:31:03 +00:00
md5driver.c Merged frugalware changes (too many to list). Also added some config file 2006-10-15 19:31:03 +00:00
package.c * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc) 2006-11-22 09:03:41 +00:00
package.h * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc) 2006-11-22 09:03:41 +00:00
provide.c Numerous changes: 2006-10-31 06:39:59 +00:00
provide.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
remove.c * Bug fix FS#6058 2007-01-03 06:13:08 +00:00
remove.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
server.c * Fixed an error when trying to download to an unwritable location 2006-11-22 04:25:31 +00:00
server.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
sha1.c * modeline fixes / reformatting 2006-12-21 01:53:40 +00:00
sha1.h * modeline fixes / reformatting 2006-12-21 01:53:40 +00:00
sync.c * bug fix FS#6100 - fix --print-uris output 2007-01-03 08:05:13 +00:00
sync.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
trans.c * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc) 2006-11-22 09:03:41 +00:00
trans.h * repo-add script - to add entries to a db file directly from package data (no PKGBUILD) 2006-11-20 09:10:23 +00:00
util.c Jürgen Hötzel <juergen@hoetzel.info> 2007-01-17 03:57:53 +00:00
util.h Jürgen Hötzel <juergen@hoetzel.info> 2007-01-17 03:57:53 +00:00
versioncmp.c * Whoops util Makefile 2006-11-22 20:03:52 +00:00
versioncmp.h * Completed getinfo api changes (pmmissing_t, pmtrans_t, etc) 2006-11-22 09:03:41 +00:00