aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-03-08 18:37:32 +0800
committerGitHub <noreply@github.com>2017-03-08 18:37:32 +0800
commit711f88dcb49bc0daf0548f3ec240f680e05dfc27 (patch)
treee33629cc9e9ae6a4df611dfc03da41f8cf9742a2 /README.md
parent344d11d591ca18416ce6fe7444e451609ee14689 (diff)
downloadtracifyjs-711f88dcb49bc0daf0548f3ec240f680e05dfc27.tar.gz
tracifyjs-711f88dcb49bc0daf0548f3ec240f680e05dfc27.zip
scan assignment value in drop_unused() (#1578)
those were not optimised for `unused` before, which made it necessary for `reduce_vars` to have separate steps for `keep_fnames` docs update by @kzc closes #1577
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index f880fd7b..a33e0b32 100644
--- a/README.md
+++ b/README.md
@@ -391,11 +391,11 @@ to set `true`; it's effectively a shortcut for `foo=true`).
- `cascade` -- small optimization for sequences, transform `x, x` into `x`
and `x = something(), x` into `x = something()`
-- `collapse_vars` -- default `false`. Collapse single-use `var` and `const`
- definitions when possible.
+- `collapse_vars` -- Collapse single-use `var` and `const` definitions
+ when possible.
-- `reduce_vars` -- default `false`. Improve optimization on variables assigned
- with and used as constant values.
+- `reduce_vars` -- Improve optimization on variables assigned with and
+ used as constant values.
- `warnings` -- display warnings when dropping unreachable code or unused
declarations etc.