Our great sponsors
|over 3 years ago||13 days ago|
|BSD 3-clause "New" or "Revised" License||GNU General Public License v3.0 or later|
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.
Advanced MessagePack capabilities
4 projects | dev.to | 13 Oct 2021
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).*
80 projects | dev.to | 27 Feb 2021
smaz - Efficient string compression library. BSD-3-Clause
Why I enjoy using the Nim programming language at Reddit.
10 projects | reddit.com/r/RedditEng | 14 Nov 2022
Another example of Nim being really fast is the supersnappy library. This library benchmarks faster than Google’s C or C++ Snappy implementation.
Stretch iPhone to Its Limit: 2GiB Stable Diffusion Model Runs Locally on Device
5 projects | news.ycombinator.com | 9 Nov 2022
It doesn't destroy performance for the simple reason that nowadays memory access has higher latency than pure compute. If you need to use compute to produce some data to be stored in memory, your overall throughput could very well be faster than without compression.
There have been a large amount of innovation on fast compression in recent years. Traditional compression tools like gzip or xz are geared towards higher compression ratio, but memory compression tends to favor speed. Check out those algorithms:
* lz4: https://lz4.github.io/lz4/
* Google's snappy: https://github.com/google/snappy
* Facebook's zstd in fast mode: http://facebook.github.io/zstd/#benchmarks
What's the best way to compress strings?
6 projects | reddit.com/r/cpp | 29 Jul 2021
What are some alternatives?
zstd - Zstandard - Fast real-time compression algorithm
LZ4 - Extremely Fast Compression algorithm
brotli - Brotli compression format
ZLib - A massively spiffy yet delicately unobtrusive compression library.
LZMA - (Unofficial) Git mirror of LZMA SDK releases
zlib-ng - zlib replacement with optimizations for "next generation" systems.
tiny_jpeg.h - Single header lib for JPEG encoding. Public domain. C99. stb style.
LZMAT - git mirror of LZMAT (http://www.matcode.com/lzmat.htm)