2 ms·
Yes, it does its work in one go so it doesn't play well with hard realtime and variable sized/large work units (unless you've got an OS that handles task swappi
by m_eiman 14y ago
Yes, it does its work in one go so it doesn't play well with hard realtime and variable sized/large work units (unless you've got an OS that handles task swapping as needed, of course).
We selected it for our embedded devices based on its small code size and suitable license, and since we use it mostly to compress log data with lots of repetitions it works very well.
- silentbicycle 14y agoIf you've got an RTOS with pre-emptive threading, you can do blocking (de)compression safely...but then you need extra memory for another thread stack. It's a good implementation if that isn't an issue, but then there's a couple tiny LZSS/LZW/etc. implementations available.