Does anyone have tested code for LZ / LZW / ZIP / Lempel Ziv compression for CCS? (synonyms are given for future searches of the forum)
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
Posted: Tue Sep 13, 2016 2:14 am
Fairly unlikely.
On most of the PIC's you are not really going to be working with large enough data sets for this to be worthwhile. Also not enough space to store the dictionary during compression on all but things like PIC24's and up.
The standard dictionary has 4096 entries. Given each of these can be several characters long, you need quite a few KB of RAM for any LZW code....
Not really the right processor for the job. The PIC is great for doing small tasks on small data sets. For things involving larger data sets, other processors are much better suited.
For low memory chips, other algorithms are better suited. Have a look at:
<http://stackoverflow.com/questions/3203321/lzw-compression-decompression-under-low-memory-conditions>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum