New efficient data compression library for ESP32s
Posted: 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
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