From ce8ee024b240befac4ca8ab12c6cd812f4a7e38b Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sun, 17 Apr 2022 10:06:18 -0700 Subject: update library version to v1.9.4 to reduce confusion in traces between dev branch and latest v1.9.3 release. --- doc/lz4_manual.html | 12 ++++++------ doc/lz4frame_manual.html | 6 +++--- lib/lz4.h | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/lz4_manual.html b/doc/lz4_manual.html index b6f304b..037cfc0 100644 --- a/doc/lz4_manual.html +++ b/doc/lz4_manual.html @@ -1,10 +1,10 @@ -1.9.3 Manual +1.9.4 Manual -

1.9.3 Manual

+

1.9.4 Manual


Contents

    @@ -57,11 +57,11 @@

    Tuning parameter

    
     
     
    #ifndef LZ4_MEMORY_USAGE
    -# define LZ4_MEMORY_USAGE 14
    +# define LZ4_MEMORY_USAGE LZ4_MEMORY_USAGE_DEFAULT
     #endif
    -

    Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.) - Increasing memory usage improves compression ratio. - Reduced memory usage may improve speed, thanks to better cache locality. +

    Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; ) + Increasing memory usage improves compression ratio, at the cost of speed. + Reduced memory usage may improve speed at the cost of ratio, thanks to better cache locality. Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache


    diff --git a/doc/lz4frame_manual.html b/doc/lz4frame_manual.html index 281c0d6..0040c98 100644 --- a/doc/lz4frame_manual.html +++ b/doc/lz4frame_manual.html @@ -1,10 +1,10 @@ -1.9.3 Manual +1.9.4 Manual -

    1.9.3 Manual

    +

    1.9.4 Manual


    Contents

      @@ -109,7 +109,7 @@

      Returns the maximum possible compressed size with LZ4F_compressFrame() given srcSize and preferences. `preferencesPtr` is optional. It can be replaced by NULL, in which case, the function will assume default preferences. Note : this result is only usable with LZ4F_compressFrame(). - It may also be used with LZ4F_compressUpdate() _if no flush() operation_ is performed. + It may also be relevant to LZ4F_compressUpdate() _only if_ no flush() operation is ever performed.


      diff --git a/lib/lz4.h b/lib/lz4.h index 7c401f6..6c068c6 100644 --- a/lib/lz4.h +++ b/lib/lz4.h @@ -100,7 +100,7 @@ extern "C" { /*------ Version ------*/ #define LZ4_VERSION_MAJOR 1 /* for breaking interface changes */ #define LZ4_VERSION_MINOR 9 /* for new (non-breaking) interface capabilities */ -#define LZ4_VERSION_RELEASE 3 /* for tweaks, bug-fixes, or development */ +#define LZ4_VERSION_RELEASE 4 /* for tweaks, bug-fixes, or development */ #define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE) -- cgit v0.12