aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkzc <zaxxon2011@gmail.com>2016-06-30 16:54:52 -0400
committerRichard van Velzen <rvanvelzen@experty.com>2016-07-01 09:41:31 +0200
commit5576e2737ad95c12d0a559015ff375c785232ec6 (patch)
tree700f5835142c44a81c86617b1284082c54648415
parentb40d5de69c61688dad8e9f5c1e99558e0e3bdc30 (diff)
downloadtracifyjs-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.md8
1 files changed, 5 insertions, 3 deletions
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`