Reduce the number of call to hashes by caching debug_level
modified libpkg/pkg_config.c
@@ -63,6 +63,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -982,6 +983,8 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -938,11 +938,8 @@ pkg_debug(int level, const char *fmt, ...)
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_solve.c
@@ -279,12 +279,8 @@ static void
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -116,6 +116,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|