Brian Pugh recently published his Tamp data compression library in the ESP component registry.
Tamp is basically an evolution on what heatshrink does. It uses very little RAM, starting at about 300 bytes (half as much as heatshrink for the same window sizes), it tends to compress better and is faster.
Brian's recent v1.5.0 release of Tamp includes some of my ESP32 optimizations which increase Tamp's compression speed on ESP32s (both RISC-V and Xtensa) by about 2.5-4x, or 8-20x on the ESP32-S3 by using its PIE/SIMD instructions, approaching a throughput of 2MB/s (some benchmarks in my repo).
ESP32-Tamp announcement on reddit: https://www.reddit.com/r/esp32/comments ... are_button
New efficient data compression library for ESP32s
-
- Posts: 1760
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
New efficient data compression library for ESP32s
Last edited by MicroController on Mon May 13, 2024 8:22 am, edited 4 times in total.
Re: New efficient data compression library for ESP32s
Thanks for letting us know.
-
- Posts: 168
- Joined: Sun May 22, 2022 2:42 pm
Re: New efficient data compression library for ESP32s
This is great stuff. Right now I'm using the stock version of LZ4 – which works fine – but perhaps I can get even better with Tamp.
Who is online
Users browsing this forum: axellin, Bing [Bot] and 53 guests