Can I save space GZip Compressing a string before storage?

By July 25, 2012 Tech

Ever wonder if it would be more efficient to save compressed versions of your strings for storage in databases etc? I wanted to check several variations on this recently, so came up with the following simple test. Just enter the string in the box below, select the compression level, and the answer will be shown. The php function ‘gzcompress’ is used.

String to compress

Compression level, 0 = none, 9 = best (takes longer though)


Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.