aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-11-11 23:51:49 +0000
committerPascal Terjan <pterjan@mageia.org>2012-11-11 23:51:49 +0000
commit5128555cc25cb5c22b7b4ad2034eba9701d9f748 (patch)
tree4e587e50ce84b6b23152530889f88af1273f50fa
parentd999775aef1d799c40373f122a34fd2e544e6f0a (diff)
downloadrpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar
rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar.gz
rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar.bz2
rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.tar.xz
rpmtools-5128555cc25cb5c22b7b4ad2034eba9701d9f748.zip
Use external gzip to decompress hdlist.
On my machine, for a repository of 3000 packages, it goes from 7.8s real/7.6 user to 6.5 real/7.0 user User time decreases because it seems to be faster by itself, real time probably because having another process allows them to run in parallel
-rw-r--r--NEWS2
-rw-r--r--genhdlist21
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 73afd6a..77258d0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- use external gzip for decompression, faster
+
Version 6.5 - 5 September 2012, by Thierry Vignaud
- compress XML data with xz instead of lzma
diff --git a/genhdlist2 b/genhdlist2
index e6ca4f1..0dabfe0 100644
--- a/genhdlist2
+++ b/genhdlist2
@@ -172,6 +172,7 @@ sub build {
archive => "$hdlist.tmp",
compress => "gzip",
uncompress => "gzip -d",
+ extern => 1,
comp_level => 9,
) or die "Can't create archive";
}