From: kzc Date: Thu, 30 Jun 2016 20:54:52 +0000 (-0400) Subject: Document that the smallest sequences optimization length is 2 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5576e2737ad95c12d0a559015ff375c785232ec6;p=UglifyJS.git Document that the smallest sequences optimization length is 2 and a sequences value of 1 is considered to be `true` - which will be set to the default value of 200. --- diff --git a/README.md b/README.md index ca1c8e4a..3245d404 100644 --- a/README.md +++ b/README.md @@ -294,9 +294,11 @@ to set `true`; it's effectively a shortcut for `foo=true`). - `sequences` (default: true) -- join consecutive simple statements using the comma operator. May be set to a positive integer to specify the maximum number of consecutive comma sequences that will be generated. If this option is set to - `true` then the default sequences limit is `200`. Set option to `false` or `0` - to disable. On rare occasions the default sequences limit leads to very slow - compress times in which case a value of `20` or less is recommended. + `true` then the default `sequences` limit is `200`. Set option to `false` or `0` + to disable. The smallest `sequences` length is `2`. A `sequences` value of `1` + is grandfathered to be equivalent to `true` and as such means `200`. On rare + occasions the default sequences limit leads to very slow compress times in which + case a value of `20` or less is recommended. - `properties` -- rewrite property access using the dot notation, for example `foo["bar"] → foo.bar`