Alexey Tourbin
6370ecd629
macro.c: replaced repeated bsearch+qsort with BSEARCH, 10x faster startup
"rpmquery rpm" callgrind annotations, previous commit: 86,825,432 PROGRAM TOTALS 33,090,616 ???:0x0000000000033080'2 25,635,193 ???:strcmp 11,530,816 ???:compareMacroName 7,241,913 ???:memcpy 2,008,600 ???:0x0000000000033080 1,734,274 ???:sortMacroTable 774,941 ???:doDefine 642,062 ???:0x00000000000714c0 308,897 ???:0x000000000002a7b0 308,137 ???:do_lookup_x 259,615 ???:0x0000000000070c50 245,388 ???:poptReadConfigFile "rpmquery rpm" callgrind annotations, this commit: 6,249,372 PROGRAM TOTALS 774,941 ???:doDefine 531,291 ???:addMacro 523,434 ???:0x00000000000714c0 388,985 ???:strcmp 308,897 ???:0x000000000002a7b0 308,098 ???:do_lookup_x 245,388 ???:poptReadConfigFile "rpmquery rpm" repeated 100 times (user time), previous commit: 3.78s "rpmquery rpm" repeated 100 times (user time), this commit: 0.40s
This is RPM, the Red Hat Package Manager. The latest releases are always available at: ftp://ftp.rpm.org/pub/rpm Additional RPM documentation (papers, slides, HOWTOs) can also be found at the same site, as well as http://www.rpm.org. There is a mailing list for discussion of RPM issues, rpm-list@redhat.com. To subscribe, send a message to rpm-list-request@redhat.com with the word "subscribe" in the subject line. RPM was originally written by: Erik Troan <ewt@redhat.com> Marc Ewing <marc@redhat.com> See the CREDITS file for a list of folks who have helped us out tremendously. RPM is Copyright (c) 1998 by Red Hat Software, Inc., and may be distributed under the terms of the GPL and LGPL (see the file COPYING for details).
Description
Languages
C
88.7%
Shell
8.9%
M4
1.3%
Makefile
1%