Page 1 of 1

New efficient data compression library for ESP32s

Posted: Sat May 11, 2024 12:14 pm
by MicroController
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

Re: New efficient data compression library for ESP32s

Posted: Sat May 11, 2024 3:38 pm
by liaifat85
Thanks for letting us know.

Re: New efficient data compression library for ESP32s

Posted: Sat May 11, 2024 6:06 pm
by DrMickeyLauer
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.