[Pkg-javascript-commits] [uglifyjs] 278/491: update documentation for `reduce_funcs` (#2478)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:44 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 557636f3b736c58e7830bec427bfe6eebadc0b68
Author: kzc <kzc at users.noreply.github.com>
Date:   Tue Nov 14 03:03:25 2017 -0500

    update documentation for `reduce_funcs` (#2478)
---
 README.md | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 22831b1..1f63da7 100644
--- a/README.md
+++ b/README.md
@@ -689,11 +689,12 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u
   Specify `"strict"` to treat `foo.bar` as side-effect-free only when
   `foo` is certain to not throw, i.e. not `null` or `undefined`.
 
-- `reduce_funcs` (default: `true`) -- Allows single-use functions
-  to be inlined as function expressions when permissible.
-  Enabled by default.  Option depends on `reduce_vars` being enabled.
-  For speed critical code this option should be disabled.
-
+- `reduce_funcs` (default: `true`) -- Allows single-use functions to be
+  inlined as function expressions when permissible allowing further 
+  optimization.  Enabled by default.  Option depends on `reduce_vars` 
+  being enabled.  Some code runs faster in the Chrome V8 engine if this 
+  option is disabled.  Does not negatively impact other major browsers.
+  
 - `reduce_vars` (default: `true`) -- Improve optimization on variables assigned with and
   used as constant values.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list