grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.11-3-g4b22246


From: Jim Meyering
Subject: grep branch, master, updated. v2.11-3-g4b22246
Date: Sat, 03 Mar 2012 10:14:45 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  4b2224681fbc297bf585630b679d8540a02b78d3 (commit)
       via  3db1e8238af7201b991c34dd51e156b852be3304 (commit)
      from  e16e21caf7f2d68003800e684e1b53ba75613209 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=4b2224681fbc297bf585630b679d8540a02b78d3


commit 4b2224681fbc297bf585630b679d8540a02b78d3
Author: Jim Meyering <address@hidden>
Date:   Sat Mar 3 10:51:11 2012 +0100

    maint: use an optimal-for-grep xz compression setting
    
    * cfg.mk (XZ_OPT): Use -6e (determined empirically, see comments).
    This sacrifices a meager 60 bytes of compressed tarball size for a
    55-MiB decrease in the memory required during decompression.  I.e.,
    using -9e would shave off only 60 bytes from the tar.xz file, yet
    would force every decompression process to use 55 MiB more memory.

diff --git a/cfg.mk b/cfg.mk
index 08bb156..84115c2 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -31,6 +31,26 @@ bootstrap-tools = autoconf,automake,gnulib
 # Now that we have better tests, make this the default.
 export VERBOSE = yes
 
+# Comparing tarball sizes compressed using different xz presets, we see
+# that -6e adds only 60 bytes to the size of the tarball, yet reduces
+# (from -9) the decompression memory requirement from 64 MiB to 9 MiB.
+# Don't be tempted by -5e, since -6 and -5 use the same dictionary size.
+# $ for i in {4,5,6,7,8,9}{e,}; do \
+#     (n=$(xz -$i < grep-2.11.tar|wc -c);echo $n $i) & done |sort -nr
+# 1236632 4
+# 1162564 5
+# 1140988 4e
+# 1139620 6
+# 1139480 7
+# 1139480 8
+# 1139480 9
+# 1129552 5e
+# 1127616 6e
+# 1127556 7e
+# 1127556 8e
+# 1127556 9e
+export XZ_OPT = -6e
+
 old_NEWS_hash = 347e90ee0ec0489707df139ca3539934
 
 # Many m4 macros names once began with `jm_'.

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=3db1e8238af7201b991c34dd51e156b852be3304


commit 4b2224681fbc297bf585630b679d8540a02b78d3
Author: Jim Meyering <address@hidden>
Date:   Sat Mar 3 10:51:11 2012 +0100

    maint: use an optimal-for-grep xz compression setting
    
    * cfg.mk (XZ_OPT): Use -6e (determined empirically, see comments).
    This sacrifices a meager 60 bytes of compressed tarball size for a
    55-MiB decrease in the memory required during decompression.  I.e.,
    using -9e would shave off only 60 bytes from the tar.xz file, yet
    would force every decompression process to use 55 MiB more memory.

diff --git a/cfg.mk b/cfg.mk
index 08bb156..84115c2 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -31,6 +31,26 @@ bootstrap-tools = autoconf,automake,gnulib
 # Now that we have better tests, make this the default.
 export VERBOSE = yes
 
+# Comparing tarball sizes compressed using different xz presets, we see
+# that -6e adds only 60 bytes to the size of the tarball, yet reduces
+# (from -9) the decompression memory requirement from 64 MiB to 9 MiB.
+# Don't be tempted by -5e, since -6 and -5 use the same dictionary size.
+# $ for i in {4,5,6,7,8,9}{e,}; do \
+#     (n=$(xz -$i < grep-2.11.tar|wc -c);echo $n $i) & done |sort -nr
+# 1236632 4
+# 1162564 5
+# 1140988 4e
+# 1139620 6
+# 1139480 7
+# 1139480 8
+# 1139480 9
+# 1129552 5e
+# 1127616 6e
+# 1127556 7e
+# 1127556 8e
+# 1127556 9e
+export XZ_OPT = -6e
+
 old_NEWS_hash = 347e90ee0ec0489707df139ca3539934
 
 # Many m4 macros names once began with `jm_'.

-----------------------------------------------------------------------

Summary of changes:
 cfg.mk |   20 ++++++++++++++++++++
 gnulib |    2 +-
 2 files changed, 21 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]