title: Compression of ASCII strings in C
body: <p>I have some C code that stores ASCII strings in memory as a four byte length followed by the string.  The string lengths are in the range 10-250 bytes.</p>
  
  <p>To reduce occupancy I'd like to compress each string individually on the fly, still storing the length (of the compressed string) followed by the compressed string.</p>
  
  <p>I don't want to compress at a larger scope than individual strings because any string can be read/written at any time.</p>
  
  <p>What libraries/algorithms are available for doing this?</p>
  
  <p>Thanks for your help.
  NickB</p>