smaz
Small strings compression library (by antirez)
ZLib
A massively spiffy yet delicately unobtrusive compression library. (by madler)
smaz | ZLib | |
---|---|---|
3 | 51 | |
1,144 | 5,579 | |
- | - | |
0.0 | 8.5 | |
almost 5 years ago | 16 days ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
smaz
Posts with mentions or reviews of smaz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-13.
-
Advanced MessagePack capabilities
Choose the data compression algorithm based on the specifics of your data. For example, if you are working with lots of short strings, take a look at [*SMAZ](https://github.com/antirez/smaz).*
-
Improving short string compression.
Take a look at this. Idea behind it seems nice, but it's fixed dictionary ("codebook") was clearly made for English language, and the algorithm itself is really simple. How can we impove on this? Dynamic dictionary won't do, since you have to store it somewhere, nullifying benefits of using such algorithm. Beyond that I have no idea.
-
C Deep
smaz - Efficient string compression library. BSD-3-Clause
ZLib
Posts with mentions or reviews of ZLib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-09-09.
- Which open-source projects are widely used but maintained by just a few people?
-
Design Patterns for C
zlib
- Zlib 1.3.1 Out
-
Vulnerability found after scanning debian 12 bookworm VM
A fix has been checked into the upstream git repo: https://github.com/madler/zlib/pull/843 but a release has not yet been made including it.
-
ZLib VS jdeflate - a user suggested alternative
2 projects | 25 Nov 2023
-
CVE-2023-4863: Heap buffer overflow in WebP (Chrome)
So the real issue here is that the lack of tree validation before the tree construction, I believe. I'm surprised that this check was not yet implemented (I actually checked libwebp to make sure that I was missing one). Given this blind spot, an automated test based on the domain knowledge is likely useless to catch this bug.
[1] https://github.com/madler/zlib/blob/master/examples/enough.c
-
Notes: Advanced Node.js Concepts by Stephen Grider
In the source code of the Node.js opensource project, lib folder contains JavaScript code, mostly wrappers over C++ and function definitions. On the contrary, src folder contains C++ implementations of the functions, which pulls dependencies from the V8 project, the libuv project, the zlib project, the llhttp project, and many more - which are all placed at the deps folder.
- Zlib 1.3 · madler/zlib 09155ea
- Zlib 1.3 – A Spiffy yet Delicately Unobtrusive Compression Library
- Exploring the Internals of Linux v0.01
What are some alternatives?
When comparing smaz and ZLib you can also consider the following projects:
LZMAT - git mirror of LZMAT (http://www.matcode.com/lzmat.htm)
zstd - Zstandard - Fast real-time compression algorithm
Snappy - A fast compressor/decompressor
doboz
LZ4 - Extremely Fast Compression algorithm
LZMA - (Unofficial) Git mirror of LZMA SDK releases
Minizip-ng - Fork of the popular zip manipulation library found in the zlib distribution.
Onion - C library to create simple HTTP servers and Web Applications.
LZHAM - Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed, C/C++