New efficient data compression library for ESP32s

MicroController
Posts: 1701
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

New efficient data compression library for ESP32s

Postby MicroController » Sat May 11, 2024 12:14 pm

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
Last edited by MicroController on Mon May 13, 2024 8:22 am, edited 4 times in total.

liaifat85
Posts: 200
Joined: Wed Dec 06, 2023 2:46 pm

Re: New efficient data compression library for ESP32s

Postby liaifat85 » Sat May 11, 2024 3:38 pm

Thanks for letting us know.

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: New efficient data compression library for ESP32s

Postby DrMickeyLauer » Sat May 11, 2024 6:06 pm

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: No registered users and 85 guests