File tree Expand file tree Collapse file tree 5 files changed +20
-4
lines changed
Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ package(default_visibility = ["//visibility:public"])
3030
3131licenses (["notice" ])
3232
33- SNAPPY_VERSION = (1 , 1 , 10 )
33+ SNAPPY_VERSION = (1 , 2 , 2 )
3434
3535config_setting (
3636 name = "windows" ,
Original file line number Diff line number Diff line change 2727# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828
2929cmake_minimum_required (VERSION 3.10)
30- project (Snappy VERSION 1.2.1 LANGUAGES C CXX)
30+ project (Snappy VERSION 1.2.2 LANGUAGES C CXX)
3131
3232# C++ standard can be overridden when this is used as a sub-project.
3333if (NOT CMAKE_CXX_STANDARD)
Original file line number Diff line number Diff line change 11module (
22 name = "snappy" ,
3- version = "1.2.1 " ,
3+ version = "1.2.2 " ,
44 compatibility_level = 1 ,
55)
66
Original file line number Diff line number Diff line change 1+ Snappy v1.2.2, Mar 26th 2025:
2+
3+ * We added a new compression level in v1.2.1 which compresses a bit
4+ denser but slower. Decompression speed should be even faster with it.
5+
6+ * We fixed a very old issue of data corruption when compressed size
7+ exceeds 4GB. This can happen when you compress data close to 4GB
8+ and it's incompressible, for example, random data.
9+
10+ * Started to use minimum CMake 3.10 because older ones are not
11+ planned to be supported.
12+
13+ * Various other small fixes and performance improvements (especially
14+ for clang).
15+
116Snappy v1.1.10, Mar 8th 2023:
217
318 * Performance improvements
Original file line number Diff line number Diff line change @@ -1690,7 +1690,8 @@ constexpr uint32_t CalculateNeeded(uint8_t tag) {
16901690#if __cplusplus >= 201402L
16911691constexpr bool VerifyCalculateNeeded () {
16921692 for (int i = 0 ; i < 1 ; i++) {
1693- if (CalculateNeeded (i) != (char_table[i] >> 11 ) + 1 ) return false ;
1693+ if (CalculateNeeded (i) != static_cast <uint32_t >((char_table[i] >> 11 )) + 1 )
1694+ return false ;
16941695 }
16951696 return true ;
16961697}
You can’t perform that action at this time.
0 commit comments