BrianPugh/tamp

RAM vs. heatshrink

BitsForPeople opened this issue · 1 comments

Hi!
Thanks for publishing this awesome code. Great job! 🥇 :)

Seeing your comparison of Tamp vs. heatshrink, you might want to note that heatshrink actually uses (1 << (window+1)) bytes of RAM (plus some change) for compression, i.e. heatshrink requires about twice as much RAM as Tamp, even without the index.

Cheers 👍

Hey @BitsForPeople!

First off, unrelated, I noticed your esp-tamp repo; very cool! Once you believe it's in a "ready" state, please let me know and I can link it in this repo's README. I'd also recommend making it available via the IDF Component Registry to make it easier for users to download and use. You can see some example configurations in esp_littlefs. I can also help out if you need it!

Thanks for the heatshrink notes; it does seem like heatshrink's buffer is twice as big as I was expecting. I'll update the readme now!