Author Topic: Best library/algorithm for low RAM embedded data compression?  (Read 15374 times)

0 Members and 1 Guest are viewing this topic.

Offline Martin FTopic starter

  • Regular Contributor
  • *
  • Posts: 149
  • Country: dk
Re: Best library/algorithm for low RAM embedded data compression?
« Reply #50 on: October 18, 2019, 06:50:20 pm »
Hi all, thanks again for a lot of good inputs.

We ended up evaluating SEGGER's emCompress vs. Heatshrink. Both were potentially valid, but for our particular combination of memory and speed requirements, it looks like Heatshrink may be the better option (and open source). Thanks again for the great suggestions!

Martin

 
The following users thanked this post: nctnico, Smokey

Offline Harjit

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Re: Best library/algorithm for low RAM embedded data compression?
« Reply #51 on: October 18, 2019, 11:48:49 pm »
Thank you for letting us know where you ended up. If you have measurements you can share, I would love to see them.
 

Offline Martin FTopic starter

  • Regular Contributor
  • *
  • Posts: 149
  • Country: dk
Re: Best library/algorithm for low RAM embedded data compression?
« Reply #52 on: October 20, 2019, 11:17:45 am »
Hi again, we’re getting between 50-70% reduction in the size, which is consistent with what we’re aiming for. For us it was in particular the writing speed that was critical in ensuring lossless logging at the same time.
 
The following users thanked this post: I wanted a rude username

Offline Harjit

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Re: Best library/algorithm for low RAM embedded data compression?
« Reply #53 on: October 20, 2019, 04:26:00 pm »
Thanks.

Same for me - writing speed is important because I want to do this on the MCU which it is doing other real time tasks.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf