README: Update for new --uglify-level=full

Thu, 27 May 2010 15:09:02 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 27 May 2010 15:09:02 +0100
changeset 64
4beddef56d73
parent 63
f42b3815ce77
child 65
41aeda62af16

README: Update for new --uglify-level=full

README file | annotate | diff | comparison | revisions
--- a/README	Thu May 27 15:04:58 2010 +0100
+++ b/README	Thu May 27 15:09:02 2010 +0100
@@ -34,11 +34,16 @@
 ### Uglify
 'Uglification' is the name Squish gives to a certain basic form of compression. With large files it can reduce the 
 size by some kilobytes, even after full minification. It works by replacing Lua keywords with a single byte and 
-inserting code at the start of the script to expand the keywords when it is run.
+inserting some short code at the start of the script to expand the keywords when it is run.
 
 #### --uglify
 Enable the uglification filter. Default is to not uglify.
 
+#### --uglify-level=LEVEL
+If the level specified is "full" then Squish will extend its replacement to identifiers and string literals, as
+well as Lua keywords. It first assigns each identifier and string a score based on its length and how many times
+it appears in the file. The top scorers are assigned single-byte identifiers and replaced the same as the keywords.
+
 ### Gzip
 Gzip, or rather the DEFLATE algorithm, is extremely good at compressing text-based data, including scripts. Using
 this extension compresses the squished code, and adds some runtime decompression code. This decompression code adds

mercurial