r/compression • u/Electrical_Ninja3805 • 2h ago
Lossless compression of LLM weights below their per-tensor entropy: Qwen3.8-27B BF16 at 10.43 bits/weight, bit-identical (open codec + paper)
r/compression • u/Electrical_Ninja3805 • 2h ago
r/compression • u/atoponce • 1d ago
Reading the release notes, it sounds like Meta was initially planning on this coming out later, but a vulnerability leading to a CVE prompted them to push it out early.
r/compression • u/IgorCv2 • 2d ago
Hi.
It's a listening test comparing the following MP3 encoders @ 192 kbps:
LAME 4.0 -V2
Helix -V110 -HF2
Helix Ultra -V110 -HF2 -E1Z . The same build as the one used here.


r/compression • u/Cultural_Caramel_577 • 2d ago
r/compression • u/Agatsuma_Zenitsu_21 • 2d ago
Disclosure: I used AI assistance for development
I built Neuralzip, an open-source Python library for lossless text compression using a small neural model and arithmetic coding.
The model is trained on the input text. Its weights are stored alongside the encoded stream, metadata, and checksum in one archive. Decoding uses the saved model without retraining.
Results from two saved research models:
| Input | Original | gzip-9 | Neuralzip |
|---|---|---|---|
| 5 book collection | 3,120,899 B | 1,191,527 B | 791,134 B |
| Alice in Wonderland | 151,094 B | 53,249 B | 63,048 B |
The five-book archive is 33.6% smaller than gzip-9. Gzip wins on Alice, and PPMd produced a smaller five-book archive at 763,603 bytes.
Neuralzip sizes include the model weights and complete encoded stream. Shared decoder/runtime installation sizes are excluded. Both archives were decoded and compared with the original bytes.
Encoding requires training, decoding also evaluates the model, and both are much slower than conventional codecs. Small inputs can grow because of model overhead. These measurements use saved research checkpoints; fresh training runs can differ.
python -m pip install neuralzip
neuralzip encode notes.txt
neuralzip decode notes.txt.nzipI’d appreciate feedback on the archive accounting, implementation, and which datasets and baselines would make the next evaluation useful.
r/compression • u/Lumpy_Moment_9168 • 2d ago
so I use my Meta glasses a lot with the amount of sports I play but I don't understand this:
How does such a short video (10-20s) take up the same amount of storage as an edited video (2:59s) I know Meta glasses/Phones might take videos at a high level of encoding but in reality its still 1080p so when I edit all of these videos together in CapCut (Theres enough to be said there so please dont roast me...) and then exported 1080p 3 minute video comes out to literally the same if not less storage on my disk I just dont understand how it works. I do understand that it reduces the quality of the videos a little bit but not astronmically enough bitrate wise to lower the storage by 2000%
And lastly, BECAUSE I have so many videos I'd LOVE to compress ALL of them this small so that they take up literally 10-20x less space on my phone/PC/Icloud photos (Preferably with keeping the dates/time the same, that way I know I can sort it based on date)
how is this 5s video ~20mb more than this 37s video
this 3 minute video is only double the size of the 5s video
r/compression • u/ramazanmelih1250 • 3d ago
Built a local Python + llama-cpp-python tool (runs 100% locally on an RTX 4060, not a hosted web service) to test 62-bit integer arithmetic coding using local GGUF language models as next-token predictors and verify exact SHA-256 round-trip decoding.
On this 560 B test text (US Constitution preamble + a fresh paragraph about information theory), zlib -9 gets 343 B, gpt2-large gets 62 B (0.886 bpb, 97.88% coder efficiency), and Qwen3.5-9B-Base gets 53 B (0.757 bpb, 97.81% efficiency).
The token-level -log2(P) heatmap makes pretraining memorization vs real generalization pretty obvious: the preamble is almost solid green for both models while the unseen second paragraph turns orange/red.
r/compression • u/doterax • 4d ago
You may remember Guetzli: Google's perceptual JPEG encoder from 2017. It makes JPEGs 20–30% smaller than libjpeg at the same visual quality. It does this by running Butteraugli, a model of the human eye, over and over until the eye stops complaining. It encodes at the speed of continental drift and eats about 300 MB of RAM per megapixel.
Some engineers at Tencent took pity on it and wrote CUDA and OpenCL backends. That's the hard part, and it's their work. I'm just a volunteer who adopted the fork after the original authors. I just shipped v3.0.0: https://github.com/doterax/guetzli-cuda-opencl
What happened:
Does the world need a faster encoder that is still about 1000× slower than mozjpeg? No. Did I enjoy chasing a float that differed in the last bit between CUDA and OpenCL? Also no. But it's done, and it's free.
Benchmarks, flames and "just use JPEG XL" comments are all welcome below 😂
r/compression • u/Kind_Height_1913 • 5d ago
Full disclosure, since it matters for a tool that deletes files: the code was written by an AI (Claude, by Anthropic). The idea, design and hands-on testing are mine; I'm not a programmer and haven't reviewed the code line by line. That's why the design doesn't rely on trusting the code: nothing is deleted until it has been read back and verified, and the test suite kills the program at every stage of every kind of job (hundreds of scenarios) to prove it recovers. The tests, the source and a write-up of how it works are all on GitHub.
So Please - DO NOT USE THIS ON DATA THAT MATTERS AT ALL! I AM NOT RESPONSIBLE FOR ANY DATA LOSS!! I've used this on my own files so far (on things I'm okay losing - game installs, copies of files, etc.) and everything seems to work good on my end - I tried a few public zip tests and hashes matched too.
After I started using HatchZip, I thought it was such a good idea, but could we have a similar tool to zip files instead?
So the idea sprouted from the idea that compressing normally needs room for the files AND the archive at the same time. When a drive is nearly full, you can't compress the very things that are filling it. Same in reverse when unpacking a huge archive, and I wondered how can we use as little space as possible?
NibbleZip compresses a chunk, writes it to the archive, reads it back from disk, decompresses it and compares it byte for byte with the source, records it in a journal, and only then frees the space of that chunk of the originals. Big files are released from the inside as they go (NTFS sparse files), so free space actually rises while it works. Extraction does the reverse: the archive gives its space back as verified files come out.
In my own testing, a 29.5 GB game folder became a 9.7 GB 7z on a drive with about 32 GB free, without ever needing room for both.
- Normal 7z and ZIP output that 7-Zip, WinRAR etc. open. No custom format.
- Stop, crash or power cut: it resumes where it left off, or a half-processed file can be put back exactly as it was.
- One archive, one per item, or one per file (e.g. a ROM folder where every game becomes its own zip), and split parts (.001, .002...).
- Untick one box and it's an ordinary archiver that deletes nothing.
Again, this is a beta. Please try it on copies of data first. I'd love reports of anything odd: different drives (exFAT, USB, network), huge file counts, very large single files, archives made by other tools.
GitHub (source, download, how it works): https://github.com/cloudhaacker/NibbleZip
VirusTotal scan of the release: https://www.virustotal.com/gui/file/a4bfb46971d3b5b0151b3a31ea26aa5a4aa3b02c57e17888e65f32c7e8d2f0b2?nocache=1
For some reason I'm getting flagged by Kaspersky - VHO:Rootkit.Win32.Convagent.gen - Acronis (Static ML) - Undetected
If you don't trust my builds, you can analyze the code yourself and build it, my last version didn't pop this so I'm pretty sure it's a false positive.
I'm open to suggestions, and will listen to any constructive feedback, but I won't guarantee how long things might take to fix/change - I just started making this for fun and to see what Claude could do with this. Thanks for checking it out, and if you can think of somewhere else it might be good to post, let me know or share with others! Thanks!
Free, MIT licence, no telemetry, nothing to install.
r/compression • u/Sure_Resource4753 • 5d ago
GPU JPEG decoders are fast, but their pixels differ from the CPU libraries'. On 102 public test images, nvJPEG matched libjpeg-turbo on none of them, by up to 110 levels at 4:2:0. That quietly breaks reproducible ML pipelines, test baselines and caches whenever decoding moves between CPU and GPU.
exact-gpu-jpeg decodes on the GPU and returns libjpeg-turbo's pixels byte for byte (accurate IDCT, fancy upsampling), and its encoder writes the same bytes as Pillow. Anything it can't reproduce exactly, progressive files for example, goes to libjpeg-turbo itself, so the output is always the reference.
On a 2016 GTX 1070: a 30 MP camera photo decodes in 11.3 ms, against 185 ms for libjpeg-turbo on one core and 164 ms for nvJPEG on the same card. Batches of small images: 7,310 images/s. Encoding: 5.5x faster than Pillow with identical files.
Where it loses is listed near the top of the README: one small image at a time, small encodes against 8 CPU threads, progressive files. Everything so far is from one machine, so results from other GPUs are very welcome: `python bench/reproduce.py --quick`, and there's a pinned issue for them.
The parallel Huffman stage (Weißenberger & Schmidt's self-synchronising method) is drawn in docs/huffman-sync.md, and there's a white paper in docs/ covering the method, the evidence and the limits.
r/compression • u/gkotorlis • 7d ago
ctLame 0.3.0 is a C++ port of LAME 4.0's VBR encoder (-V) that encodes a single file on all cores and writes exactly the same bytes as lame.exe.
On an i9-11900K (8C/16T) it encoded 45 h of CD audio (-V 4) in 85 s; lame.exe took 1195 s. All 343 files were bit-identical.
LAME is sequential by design: psychoacoustic state carries from frame to frame, and so does the bit reservoir. ctLame splits each frame into stateless parts (FFT, MDCT, quantization search, Huffman), which run for many frames in parallel, and short serial steps in frame order.
It's the successor to fpMP3Enc (2008): https://hydrogenaudio.org/index.php/topic,73790.msg649414.html
How it's built: https://www.thinkmeta.com/concurrenttasks/task-based-programming/ctlame
Source (LGPL), binaries for Windows/Linux x64, benchmarks: https://github.com/ThinkMeta-com/ThinkMeta.ConcurrentTasks.Samples/tree/main/ctLame
Numbers from other CPUs welcome.
r/compression • u/AdvancedMessage462 • 7d ago
Hi!
I’m not a pioneer in this field - you can find both free and commercial projects on the internet (https://github.com/adimalkar/Neural-Image-Compressor , https://ai.nero.com/image-compressor).
Some time ago I shared my neural image codec here https://github.com/ageMLex2021/oxn and got fair criticism :PSNR alone is not enough, and I needed to compare against JPEGXL and AVif. So I did the homework. Setup: Kodak kodim21-24 (these 4 images were never used in training), matched bitrates 0.15-0.30 bpp, metrics PSNR, MS-SSIM and LPIPS, plus encode/decode times. Full tables, methodology and a visual crop comparison: https://github.com/ageMLex2021/oxn/blob/main/BENCHMARKS.md

Short version of what I found:
r/compression • u/Expert-Bridge-6458 • 7d ago
A user called FinderFire2 posted something called funny.zip, supposedly around 2.6 MB and claiming to expand to 55.4 YB.
Has anyone ever found the actual file, downloaded it, or tested its contents? Is it real, or was it just a joke?
I'm trying to find out what happened to the original file. Any information, archives, or screenshots would be appreciated!
r/compression • u/OzzyM_Dev • 8d ago
QLIC Lite is a lossless codec and these were single threaded on a 9950x3d on logical CPU 2.
QLIC Lite on average encoded at 75.67 MP/s and decoded on average at 247.81MP/s. Across the entire corpus it gets a total file size at about JXL effort 7 density. JXL e7 was 0.111% larger on the 3200 image benchmark and funnily enough, 0.002% larger on the smaller 2400 image benchmark for the RGB codecs. JXL e7 encoded at 1.83 MP/s and decoded at 10.57 MP/s. Libpng effort 1 encoded at 42.67 MP/s and decoded at 123.78 MP/s.
That makes QLIC Lite: 41x faster at encoding than JXL e7. 23x faster at decoding than JXL e7. And damn near exactly 2x faster at decoding than PNG (in this benchmark but still)
QLIC Lite supports up to 10-bit HDR and RGBA of course.
QLIC Lite also used less ram than JXL did overall in my testing.
I'd like if you guys could test out QLIC Lite, tell me of any glitches, independent benchmarks, oh and especially Linux, I couldn't test on a real Linux machine, I know, I know, not a real engineer I don't use Linux, but anyway. Anyone with a Linux machine I'd love if you could rip apart my codec to shreds and tell me what happens so I can hopefully fix it.
I'll also warn anyone on older machines you WILL get different results if your device is too old for avx2. It'll need to fallback to sse4.2 and popcnt, which keeps most of the speed, but it'll lose a bit of it. If your device is too old for those, I'd, admittedly not recommend QLIC Lite as much. It's still formidable overall, but, portable C isn't nearly as fast as sse4.2 with popcnt and avx2.
That's all.
r/compression • u/Glittering_Gap_9891 • 9d ago
I built UCZ (v0.1.0-beta.1), a personal TypeScript research project, to explore a question: many high-performance compressors—paq8px, zstd with dictionaries, domain-specific tools—rely on built-in world knowledge such as word lists, pretrained weights, magic numbers, or format-specific preprocessors. What if a compressor is strictly forbidden any external prior knowledge and told only that “the input is a raw byte sequence”?
To test this, I defined a “9-Point Constitution” (no built-in dictionaries, pretrained tables, filename/magic-number sniffing, or format-specific preprocessing) and implemented an online context-mixing engine that discovers structure at runtime:
For tabular/vertical-text streams, it learns delimiter density and tracks row/column alignment.
For 2D binary rasters, it searches the decoded prefix for causal scanline autocorrelations—e.g., locking onto the 216-byte scanline structure of the Canterbury ptt5 fax image and reaching 5.25% compression without header parsing.
For multi-channel/periodic signals, it tries de-interleaving with strides s=2–64, plus delta encoding and bit-plane decomposition.
For incompressible inputs (e.g., .png, since it may not re-inflate DEFLATE), an “error-EMA gate” freezes context training and reverts to STORE mode to avoid learning from noise.
To separate “general online learning” from “algorithmic priors,” every structural assumption is documented in PRIOR_REGISTRY.md, and two modes measure their impact.
UCZ --max includes online delimiters/column alignment, stride de-interleaving for s∈[2,64], causal 2D scanline detection, relative jump transforms, and the error-EMA freeze gate:
Canterbury Corpus (11 files): 369,447 B (13.14%; xz -9e: 17.54%)
UCI Tabular Corpus (6 files): 375,359 B (5.73%; xz -9e: 8.80%)
Complete E. coli genome: 1.951 bits/input-byte (~1.990 bits/base)
UCZ --strict / --strict-zero-prior disables ASCII character-class partitioning, relative jump transforms, 2D scan-period detection, and arithmetic delta/gradient specifications; it also tests a random permutation π(X) of the byte alphabet:
Canterbury Corpus: 375,283 B (13.35%; 1.58% higher than --max)
For structured binary data (9.H: +6.3%), tabular floating-point data (+14.5%), and 2D fax rasters (ptt5: +62.5%), these results quantify each structural operator’s gains.
Because the model tracks prequential predictive code cost (−log2 P(x_t|x_<t)) every 512 bytes, I built two utilities:
ucz inspect: a “residual microscope” showing where the online model is surprised—useful for high-entropy pockets in unknown blobs or regime shifts.
ucz ncd: a conditional-complexity dissimilarity matrix that keeps the context table “warm” across file boundaries.
Caveats: it is slow and memory-intensive—the 2.8 MB Canterbury Corpus takes ~105 s and ~1.9 GiB RAM, roughly 100× slower than xz -9e; README lists wall-clock time and peak RSS with each ratio. Even in --strict mode, exact alphabet-bijection invariance C(π(X))=C(X) holds only within an empirical ~3.4% drift, due to 24-bit hash-bucket collisions and APM quantization; details are in CONSTITUTION.md. The codebase (src/lib/codec.ts, coder.ts) evolved over ~37 iterations and is not elegant.
Specialized tools with domain priors still win in their domains (paq8px for English prose, AC2 for proteins, GeCo3 for DNA); documenting this gap was the main objective. If you have unusual binary blobs, telemetry logs, or edge-case files for round-trip integrity tests or the “microscope” tool (npm run bench:quick gives a ~10 s, 6-stream check; a local single-file Web UI via npm run build:web), I welcome bug reports, critiques, and mathematical/code suggestions.(https://github.com/no-nova/UCZ)
r/compression • u/Specialist_Data_5403 • 11d ago
Hello r/compression
I'd like to share a project that I've been working on for the last couple of months.
On microcontrollers with only a few kilobytes of Flash and SRAM, heatshrink [1] and tamp [2] are widely used for decompressing static assets. They are small, configurable, and produce good compression ratios.
However, for random-access workflows (like reading a single entry from a config table, font, or devicetree), sliding-window decoders still require allocating the full window and sequentially decoding from the start of a block. To get small-slice random access with heatshrink or tamp, you either pay that full sequential decode cost or split the asset into small independently compressed blocks (which hurts compression ratio).
==============
blaris is a windowless LZSS format/decompressor - meaning it does not allocate a sliding window at all. This lets it match (or sometimes beat) the compression ratios of high-window heatshrink and tamp configurations while keeping total SRAM usage fixed at 104–112 B regardless of lookback range or file size.
Typical LZ77/LZSS resolves matches by copying from a RAM sliding window. blaris instead resolves matches directly inside the compressed payload, following the chain of matches backward until it lands on a literal run token.
To make bidirectional traversal fast and deterministic, tokens are split into 3 streams:
Because each control byte fixes the exact number of literal bytes or distance bits consumed, the decoder can step forward and backward across all 3 streams in lockstep.
A few optimizations make this practical:
On small random-access slices (1–32 B), blaris significantly outperforms ratio-matched, block-indexed heatshrink and tamp (e.g., >500× faster on 1 B reads at ~36% ratio on a 15.2 KiB devicetree blob). For larger sequential reads, streaming decoders overtake blaris around 64–128 B slices since blaris's work scales linearly with slice length. Testing on physical ESP32-C3FN4 quad-SPI XIP Flash also showed that Flash wait states don't disproportionately penalize backward token walking (~1.30–1.33× overhead vs. zero-wait-state simulation for slices ≥ 4 B).
Memory footprints compiled with Clang (-Os) for RV32IMC (including common adapter):
GitHub repo with the C implementation, host compressor, benchmarking suite, and full results: https://github.com/lis05/blaris
[1] https://github.com/atomicobject/heatshrink
[2] https://github.com/BrianPugh/tamp
[3] https://github.com/lis05/lzmpo
AI-enhanced post.
r/compression • u/powturbo • 11d ago
r/compression • u/CompetitiveThroat961 • 11d ago
r/compression • u/pollop-12345 • 13d ago
Hi all,
I posted about ZXC here a few months ago, and the feedback I got shaped a good part of what came next. So I wanted to share this one here first: 1.0.0 is out.
Quick reminder: ZXC is an LZ codec for write-once, read-many data. You compress once, at build time, and decode everywhere, so I tuned everything for decode speed.
For me, 1.0 is mostly a promise:
Where it stands (Silesia, single thread, lzbench):
zstd -1 and decodes up to 3x fasterThe price is compression speed: -6 and -7 are slow, and that's a choice I made. If you need fast compression, LZ4 and ZSTD are still the right tools.
It also has seekable archives, in-place decompression, dictionaries for small data, and bindings for Rust, Python, Node.js, Go and WASM. BSD-3-Clause.
What's next, and where I could use a hand:
https://github.com/hellobertrand/zxc
If you try it on your own data or hardware, I'd love to see the numbers, good or bad. And thanks to everyone who commented last time.
r/compression • u/Hakan_Abbas • 13d ago
HALAC 1.0.0 is ready...
For details and downloads: https://github.com/Hakan-Abbas/HALAC-High-Availability-Lossless-Audio-Compression/releases/tag/1.0.0
AMD Ryzen 5 9600X - Single Thread Results
KARNOKKOROK 01.wav (Thank you Marco - forart.eu)
Single track · 32 channels · 32-bit float · 48 kHz · 3.96 GB
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 36.90 1,460.10 8.31 8.27
HALAC 0.6.6 1 35.99 1,424.17 7.34 7.71
HALAC 0.6.6 2 34.23 1,354.48 7.63 8.48
HALAC 0.6.6 3 33.46 1,323.81 8.12 8.94
HALAC 0.6.6 4 33.37 1,320.44 10.08 11.13
HALAC 0.6.6 5 33.38 1,320.86 10.79 11.50
HALAC 1.0.0 0 34.25 1,354.97 4.17 3.84
HALAC 1.0.0 1 33.84 1,339.01 4.58 4.05
HALAC 1.0.0 2 31.69 1,253.95 5.03 4.58
HALAC 1.0.0 3 31.64 1,251.68 7.61 4.80
HALAC 1.0.0 4 31.61 1,250.70 8.63 4.88
HALAC 1.0.0 5 31.59 1,250.08 9.26 4.97
HALAC 1.0.0 6 31.54 1,248.07 12.00 5.17BIP TUNIA (Thank you Michael)
6 tracks · 24-bit · 2 ch · 5.62 GB · 44.1 kHz
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 76.23 4,283.02 5.20 6.58
HALAC 0.6.6 1 76.00 4,269.93 5.96 7.18
HALAC 0.6.6 2 73.52 4,130.85 6.47 8.62
HALAC 0.6.6 3 72.62 4,080.34 7.41 9.67
HALAC 0.6.6 4 72.19 4,056.35 10.07 12.55
HALAC 0.6.6 5 72.05 4,047.99 12.42 13.27
HALAC 1.0.0 0 75.72 4,254.41 4.84 6.07
HALAC 1.0.0 1 74.57 4,189.79 5.21 6.56
HALAC 1.0.0 2 72.29 4,061.91 6.40 7.51
HALAC 1.0.0 3 72.07 4,049.44 7.94 8.43
HALAC 1.0.0 4 71.63 4,024.64 10.99 9.76
HALAC 1.0.0 5 71.54 4,019.36 13.09 9.78
HALAC 1.0.0 6 70.94 3,985.77 23.77 11.71YURI KORZUNOV
6 tracks · 24-bit · 2 ch · 192 kHz · 1.90 GB
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 56.61 1,077.27 1.80 2.20
HALAC 0.6.6 1 43.24 822.74 1.92 2.48
HALAC 0.6.6 2 32.38 616.23 2.09 2.96
HALAC 0.6.6 3 28.87 549.35 2.32 3.23
HALAC 0.6.6 4 27.47 522.65 3.90 4.21
HALAC 0.6.6 5 27.17 517.07 4.40 4.44
HALAC 1.0.0 0 56.08 1,067.16 1.97 2.08
HALAC 1.0.0 1 42.43 807.32 1.77 2.67
HALAC 1.0.0 2 27.00 513.71 2.05 2.46
HALAC 1.0.0 3 24.96 474.89 3.23 2.82
HALAC 1.0.0 4 22.98 437.24 5.82 3.59
HALAC 1.0.0 5 22.97 437.12 6.36 3.58
HALAC 1.0.0 6 22.42 426.57 14.02 3.85AMVIZO 5.1
20 tracks · 16-bit · 48 kHz · 5.1 channels · 2.77 GB
Version Level Size (%) Size (MB) Encoding (s) Decoding (s)
HALAC 0.6.6 0 48.90 1,355.75 3.05 3.57
HALAC 0.6.6 1 49.62 1,375.89 3.56 3.97
HALAC 0.6.6 2 45.59 1,264.12 3.80 4.97
HALAC 0.6.6 3 43.09 1,194.70 4.32 5.62
HALAC 0.6.6 4 42.81 1,187.06 6.44 7.38
HALAC 0.6.6 5 42.60 1,181.17 7.38 7.85
HALAC 1.0.0 0 48.21 1,336.80 2.96 3.15
HALAC 1.0.0 1 47.34 1,312.52 3.06 3.55
HALAC 1.0.0 2 43.32 1,201.27 3.92 4.21
HALAC 1.0.0 3 38.75 1,074.37 6.38 4.75
HALAC 1.0.0 4 38.05 1,055.11 8.34 5.62
HALAC 1.0.0 5 37.81 1,048.41 10.00 5.49
HALAC 1.0.0 6 37.84 1,049.22 15.25 5.84r/compression • u/Simpli-curious • 14d ago
Useful if you archive a lot of models, share them over slow or metered connections, or keep them on a phone or small SSD.
r/compression • u/Express-Theory-2338 • 14d ago
I've been working on a DEFLATE compressor/decompressor called ZyFlate. I built a benchmark that tests it head-to-head against two widely deployed DEFLATE implementations and I'd like people who know compression to look at the numbers.
Full disclosure: I'm a solo developer, I use AI tools in my workflow, and I'm new to this community. No connections, no team. For all I know this could be some cruel hallucination and I'm completely wrong about everything.
But the benchmark is real. Download it. Run it on your own files.
Decompression throughput (100 MB test data, same compressed stream, all three decompress it):
| Level | ZyFlate MB/s | Library A MB/s | Library B MB/s |
|---|---|---|---|
| L1 | 1,091 | 380 | 890 |
| L6 | 1,021 | 387 | 867 |
| L12 | 1,291 | 474 | 1,044 |
Library A and B are two of the most widely deployed DEFLATE implementations. The benchmark output describes each one.
Parallel compress + decompress (2 threads):
| Level | 1-core compress | 2-core compress | 1-core decompress | 2-core decompress |
|---|---|---|---|---|
| L1 | 180 MB/s | 337 MB/s (1.9x) | 1,112 MB/s | 1,684 MB/s (1.5x) |
| L6 | 62 MB/s | 105 MB/s (1.7x) | 1,286 MB/s | 1,985 MB/s (1.5x) |
| L12 | 1.3 MB/s | 2.0 MB/s (1.6x) | 1,037 MB/s | 1,735 MB/s (1.7x) |
Library A and B have no parallel API. ZyFlate splits input into independent 1 MiB chunks. All parallel outputs verified byte-exact against single-core.
Download:
https://github.com/GodlessVVanderer/slain-releases/releases/tag/zyflate-bench-v2.0.0
Windows x86-64. Supply any file as input (10+ MB recommended).
This isn't the finished version. The compressor is still being worked on — these numbers are mostly about the decompressor. There's an update coming that I think will change the conversation. If this doesn't impress you, the next one will.
I'm building this as part of something larger. If you work in compression and want to talk, my inbox is open.
AGPL-3.0-only. Commercial licensing available — joshdaem@gmail.com.
r/compression • u/Fair-Ad-5759 • 14d ago
hi i hope everyone is doing good.
a few months back i successfully downloaded all my snapchat videos and images and manually added their dates, however i want to be able to save them on free cloud storages i have like dropbox, google photos, etc. but its about 20gb
i wanted to know if there’s a website or ios app that lets me bulk compress images and videos without removing their metadata, its been hard to find one that works efficiently.
any help would be appreciated!!
also any recommendations on free cloud services online would also be greatly appreciated! would like save it in multiple website since it contains a lot of my memories