diff options
author | kzc <zaxxon2011@gmail.com> | 2016-06-30 16:54:52 -0400 |
---|---|---|
committer | Richard van Velzen <rvanvelzen@experty.com> | 2016-07-01 09:41:31 +0200 |
commit | 5576e2737ad95c12d0a559015ff375c785232ec6 (patch) | |
tree | 700f5835142c44a81c86617b1284082c54648415 | |
parent | b40d5de69c61688dad8e9f5c1e99558e0e3bdc30 (diff) | |
download | tracifyjs-5576e2737ad95c12d0a559015ff375c785232ec6.tar.gz tracifyjs-5576e2737ad95c12d0a559015ff375c785232ec6.zip |
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.
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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` |