CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

LZW compression

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
guy



Joined: 21 Oct 2005
Posts: 297

View user's profile Send private message Visit poster's website

LZW compression
PostPosted: Tue Sep 13, 2016 1:53 am     Reply with quote

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: 19509

View user's profile Send private message

PostPosted: Tue Sep 13, 2016 2:14 am     Reply with quote

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>
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group