javascript – How to compress a string

javascript – How to compress a string?

Many compression algorithms are well documented, a couple even have js implementations:

  • GZip A common (reasonably) good compression algorithm, I know there’s a JS impl, i’m just hunting the URL
  • LZW Another question points to an LZW implementation in JS
  • Arithmetic coding (i did this, but the model it uses is stupid so doesn’t achieve the best compression rates it could)
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s