Commit Graph

387 Commits

Author SHA1 Message Date
anthony-zy
441032643f Merge branch 'google:main' into add_rvv_support 2025-09-05 16:02:38 +08:00
anthony-zy
27d8915d34 Merge branch 'add_rvv_support' of https://github.com/anthony-zy/snappy into add_rvv_support 2025-09-05 16:00:09 +08:00
anthony-zy
eb8d19fc1e Merge branch 'add_rvv_support' of https://github.com/anthony-zy/snappy into add_rvv_support 2025-09-05 15:59:29 +08:00
anthony-zy
0f989a2a97 Merge branch 'add_rvv_support' of https://github.com/anthony-zy/snappy into add_rvv_support 2025-08-28 20:42:49 +08:00
anthony-zy
802ef73aed add RVV support and optmized uncompress speed 2025-08-28 20:42:13 +08:00
anthony-zy
1f6ba69d67 add RVV support and optimized uncompress speed 2025-08-28 20:11:39 +08:00
anthony-zy
758804a4bc Use high-performance FindMatchLength to Optimize Snappy compression speed For RISC-V[skip ci] 2025-08-26 20:51:45 +08:00
danilak-G
6f99459b5b Merge pull request #208 from wanghan-sanechips/riscv-benchmark-fix
build: Update benchmark submodule for RISC-V
2025-07-29 09:45:06 +01:00
danilak-G
4793b4d004 Merge pull request #210 from anthony-zy/rv_findmatchlenght
Use high-performance FindMatchLength to Optimize Snappy compression s…
2025-07-29 09:44:35 +01:00
anthony-zy
1d88de7de8 Use high-performance FindMatchLength to Optimize Snappy compression speed For RISC-V[skip ci] 2025-07-29 14:08:43 +08:00
wanghan
b68435f083 build: Update benchmark submodule for RISC-V
- Pins to b20cea67 to fix illegal instruction
- Verified on openEuler RISC-V
2025-07-28 18:23:35 +08:00
Danila Kutenin
6af9287fbd Release 1.2.2 2025-03-26 15:19:22 +00:00
danilak-G
de19405e58 Merge pull request #203 from haney/msvc_shared
Export symbols from snappy_test_support when building shared
2025-03-26 15:18:20 +00:00
David Haney
4dd78f2deb Export symbols from snappy_test_support when building shared
This replicates existing logic that was previously applied to the
`snappy` library.

fixes #202
2025-03-26 08:10:25 -07:00
danilak-G
b395cf7a4f Merge pull request #197 from rp42/main
Support clang-cl on Windows
2025-03-26 14:58:01 +00:00
Danila Kutenin
fa07e8a945 Fix data corruption when output of snappy compression is more than 4GB
This fixes #201
2025-03-26 14:51:54 +00:00
danilak-G
49087d4e14 Merge pull request #200 from gruenich/feature/cmake-3.10
[cmake] Require CMake version 3.10 or newer
2025-03-21 15:43:01 +00:00
Christoph Grüninger
a688be4b77 [cmake] Require CMake version 3.10 or newer
CMake 4.0 will be released soon and it marks
3.10 as deprecated and refuses to work with
3.5 or older versions without additional
flags for the CMake call.
2025-03-21 16:23:19 +01:00
rp42
a6b9f87f82 Support clang-cl on Windows
clang-cl is an MSVC-like driver for clang on Windows. It needs MSVC style options and CMake sets MSVC when it is being used.
2025-01-31 12:58:54 +00:00
Danila Kutenin
32ded457c0 Update CMakeLists NEON flag to reflect only AArch64 NEON optimizations 2024-08-17 19:03:10 -07:00
Danila Kutenin
fcf1982acc Update bazel module 2024-08-17 19:01:52 -07:00
Danila Kutenin
58d911b284 Add missing functional include for std::less_equal 2024-08-17 19:00:51 -07:00
danilak-G
b49982cc1e Merge pull request #179 from mmorel-35/bzlmod
chore(bazel): add MODULE.bazel files for bzlmod
2024-08-17 18:49:28 -07:00
danilak-G
07406b9380 Merge pull request #181 from AtomicRobotMan0101/main
Update README.md
2024-08-17 18:47:30 -07:00
Danila Kutenin
2c94e11145 Release version 1.2.1 2024-05-21 19:36:39 +00:00
Danila Kutenin
465b5b60ca Restore old compression functions to preserve ABI
Fixes #183
2024-05-21 19:25:53 +00:00
Evan McBeth
dc3577f5b4 Update README.md
typo on list
2024-04-18 18:13:32 +10:00
Matthieu MOREL
09d30d36f4 chore(bazel): add MODULE.bazel files for bzlmod
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-04-13 11:52:06 +02:00
danilak-G
52820ea9c6 Merge pull request #178 from jjerphan/build/update-version-to-1.2.0
Update version number to 1.2.0
2024-04-10 15:15:35 +01:00
Julien Jerphanion
ac6b63f042 Update version number to 1.2.0
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
2024-04-08 14:14:45 +02:00
danilak-G
23b3286820 Merge pull request #175 from Quuxplusone/suggest-override
Fix -Wsuggest-override warnings from Clang
2024-04-04 20:04:38 +01:00
Danila Kutenin
6b2eb7028b Fix all compilation errors to be C++11 compliant 2024-04-04 19:00:14 +00:00
Danila Kutenin
ab38064abe Fix compilation in the benchmark 2024-04-04 18:44:31 +00:00
Danila Kutenin
4e693db158 Use C++11 style instead of C++20 2024-04-04 18:42:29 +00:00
Danila Kutenin
a60fd602ce Fix sync 2024-04-04 18:36:37 +00:00
Snappy Team
766d24c95e Zippy level 2 for denser compression and faster decompression
We also increased the hashtable size by 1 bit as it significantly degraded the ratio. Thus even level 1 might slightly improve.

PiperOrigin-RevId: 621456036
2024-04-04 18:27:00 +00:00
Snappy Team
4f5cf9a8d6 Internal changes
PiperOrigin-RevId: 599838882
2024-04-04 18:26:53 +00:00
Snappy Team
8bf2640823 Internal changes
PiperOrigin-RevId: 599151099
2024-04-04 18:26:42 +00:00
Snappy Team
f0b0c9b8ce Internal changes
PiperOrigin-RevId: 597991348
2024-04-04 18:24:48 +00:00
Snappy Team
54d07d53a2 Restructure compression sampling for comparative analysis
PiperOrigin-RevId: 597989810
2024-04-04 18:21:10 +00:00
Howard Hinnant
41a3ade229 Silence -Wdeprecated warning on clang
* definition of implicit copy constructor for 'SnappySinkAllocator'
  is deprecated because it has a user-declared destructor.
2023-12-31 23:23:37 -05:00
Arthur O'Dwyer
8774875e55 Fix -Wsuggest-override warnings from Clang 2023-12-31 23:21:34 -05:00
Richard O'Grady
27f34a580b Fix -Wsign-compare warning
PiperOrigin-RevId: 547529709
2023-07-12 11:12:48 -07:00
Richard O'Grady
c9f9edf6d7 Fixes for Windows bazel build.
Don't pass -Wno-sign-compare on Windows.
Add a #define HAVE_WINDOWS_H if _WIN32 is defined.
Don't assume sys/uio.h is available on Windows.

PiperOrigin-RevId: 524416809
2023-04-14 18:02:20 -07:00
Richard O'Grady
66a30b803f Add initial bazel build support for snappy.
PiperOrigin-RevId: 524135175
2023-04-13 17:10:32 -07:00
Richard O'Grady
f725f6766b Upgrade googletest to v1.13.0 release. 2023-04-13 10:31:13 -07:00
Richard O'Grady
8325392950 Disable Wimplicit-int-float-conversion warning in googletest
PiperOrigin-RevId: 524031046
2023-04-13 10:04:53 -07:00
Richard O'Grady
108139d275 Upgrade benchmark library to v1.7.1 release. 2023-04-11 13:16:42 -07:00
Richard O'Grady
00aa9ac61d Disable -Wsign-compare warning.
PiperOrigin-RevId: 523460180
2023-04-11 11:55:49 -07:00
Richard O'Grady
cfc573e08f Define missing SNAPPY_PREFETCH macros.
PiperOrigin-RevId: 523287305
2023-04-11 10:38:23 -07:00