Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-11 | fix `inline` of `catch`-scoped variables (#3077) | Alex Lam S.L | |
fixes #3076 | |||
2018-04-06 | fix AST corruption during `inline` of simple `return` (#3056) | Alex Lam S.L | |
fixes #3054 | |||
2018-03-23 | fix nested `inline` within loop (#3019) | Alex Lam S.L | |
fixes #3018 | |||
2018-03-22 | fix corner case in `inline` (#3017) | Alex Lam S.L | |
fixes #3016 | |||
2018-02-26 | drop lone "use strict" in function body (#2963) | Alex Lam S.L | |
fixes #2961 | |||
2018-02-25 | deduplicate parenthesis around object and function literals (#2953) | Alex Lam S.L | |
2018-02-17 | improve `inline` efficiency (#2924) | Alex Lam S.L | |
2018-02-13 | collapse within unary expressions (#2910) | Alex Lam S.L | |
2018-02-09 | fix AST corruption due to `collapse_vars` & `inline` (#2899) | Alex Lam S.L | |
fixes #2898 | |||
2018-01-19 | enable `unsafe` for `test/ufuzz.js` (#2819) | Alex Lam S.L | |
- introduce `unsafe_undefined` - safer `.toString()` compression Miscellaneous - rename `unsafe_Function` | |||
2018-01-15 | avoid double counting within single-use functions (#2785) | Alex Lam S.L | |
fixes #2783 | |||
2018-01-07 | fix recursive function `inline` (#2738) | Alex Lam S.L | |
fixes #2737 | |||
2018-01-04 | fix corner case in `inline` (#2720) | Alex Lam S.L | |
2018-01-04 | forbid block-scoped `AST_Defun` in strict mode (#2718) | Alex Lam S.L | |
2018-01-04 | extend `inline` (#2714) | Alex Lam S.L | |
- compress `function` with variables within loops - restrict to `AST_Var` for better compatibility with ES6+ | |||
2018-01-04 | apply `collapse_vars` to loop conditions (#2712) | Alex Lam S.L | |
2018-01-03 | inline functions with `AST_Var` (#2688) | Alex Lam S.L | |
2018-01-02 | enhance `collapse_vars` (#2704) | Alex Lam S.L | |
2018-01-02 | reset argument value within loop after `inline` (#2699) | Alex Lam S.L | |
2018-01-01 | enhance `join_vars` & `sequences` (#2697) | Alex Lam S.L | |
- nudge declarations without assignments - within `AST_BlockStatement` - across `AST_If` | |||
2017-12-31 | fix `inline` on duplicate argument names (#2698) | Alex Lam S.L | |
2017-12-28 | fix function inlining within loops (#2675) | Alex Lam S.L | |
fixes #2663 | |||
2017-12-26 | replace single-use recursive functions (#2659) | Alex Lam S.L | |
fixes #2628 | |||
2017-12-26 | suppress `inline` within substituted `AST_Scope` (#2658) | Alex Lam S.L | |
fixes #2657 | |||
2017-12-25 | fix infinite loop during `inline` (#2645) | Alex Lam S.L | |
fixes #2644 | |||
2017-12-24 | fix corner cases with `collapse_vars`, `inline` & `reduce_vars` (#2637) | Alex Lam S.L | |
fixes #2630 | |||
2017-12-20 | avoid `inline` of function with special argument names (#2625) | Alex Lam S.L | |
2017-12-19 | fix `inline` after single-use `reduce_vars` (#2623) | Alex Lam S.L | |
2017-12-19 | add test for #2613 (#2618) | Alex Lam S.L | |
2017-12-19 | handle global constant collision with local variable after `inline` (#2617) | Alex Lam S.L | |
fixes #2616 | |||
2017-12-18 | compress `apply()` & `call()` of `function` (#2613) | Alex Lam S.L | |
- `fn.apply(a, [ ... ])` => `fn.call(a, ...)` - `fn.call(a, ... )` => `a, fn(...)` where `fn` can be `function` literal or symbol reference linked through `reduce_vars` | |||
2017-12-16 | account for `catch` variable when `inline` (#2605) | Alex Lam S.L | |
fixes #2604 | |||
2017-12-16 | fix nested `inline` (#2602) | Alex Lam S.L | |
fixes #2601 | |||
2017-12-15 | handle `inline` of function arguments (#2590) | Alex Lam S.L | |
fixes #2476 | |||
2017-12-14 | inline single-use `function` across loop (#2594) | Alex Lam S.L | |
2017-12-14 | fold `cascade` functionality into `collapse_vars` (#2586) | Alex Lam S.L | |
2017-12-07 | eliminate noop calls more aggressively (#2559) | Alex Lam S.L | |
2017-12-01 | improve compression of `if` conditions (#2544) | Alex Lam S.L | |
2017-11-29 | fix `inline` on nested substitutions (#2533) | Alex Lam S.L | |
fixes #2531 | |||
2017-11-11 | implement compress option `reduce_funcs` (#2466) | Alex Lam S.L | |
- inline single-use function declarations as expressions when permissible - depend on `reduce_vars` - enabled by default - disable for speed critical code fixes #2464 | |||
2017-11-09 | fix multiple nested function substitutions (#2458) | Alex Lam S.L | |
fixes #2449 | |||
2017-11-05 | inline single-use functions that are not constant expressions (#2434) | Alex Lam S.L | |
fixes #2428 | |||
2017-10-22 | safer `properties` transform (#2391) | Alex Lam S.L | |
`{ a: x, b: y }.a` => `[ x, y ][0]` - `x` cannot be function containing `this` `[ x, y, z ][1]` => `(x, z, y)` - only if `z` is side-effect-free | |||
2017-10-22 | fix `unsafe` escape analysis in `reduce_vars` (#2387) | Alex Lam S.L | |
2017-07-02 | improve `inline` efficiency (#2188) | Alex Lam S.L | |
... by teaching `collapse_vars` some new tricks. fixes #2187 | |||
2017-06-27 | improve `unsafe_Func` (#2171) | Alex Lam S.L | |
- minimise disturbance to `compute_char_frequency()` - remove extraneous quotation marks | |||
2017-06-23 | synchronise `mangle.properties` for `minify()` & `test/compress` (#2151) | Alex Lam S.L | |
2017-06-17 | make defensive copies when `inline` (#2116) | Alex Lam S.L | |
fixes #2114 | |||
2017-06-16 | correctly determine scope of `AST_This` (#2109) | Alex Lam S.L | |
fixes #2107 | |||
2017-06-15 | suppress `inline` of `this` (#2103) | Alex Lam S.L | |
fixes #2101 |