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.
This commit is contained in:
kzc
2016-06-30 16:54:52 -04:00
committed by Richard van Velzen
parent b40d5de69c
commit 5576e2737a

View File

@@ -294,9 +294,11 @@ to set `true`; it's effectively a shortcut for `foo=true`).
- `sequences` (default: true) -- join consecutive simple statements using the - `sequences` (default: true) -- join consecutive simple statements using the
comma operator. May be set to a positive integer to specify the maximum number 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 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` `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 to disable. The smallest `sequences` length is `2`. A `sequences` value of `1`
compress times in which case a value of `20` or less is recommended. 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 - `properties` -- rewrite property access using the dot notation, for
example `foo["bar"] → foo.bar` example `foo["bar"] → foo.bar`