diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-06-06 05:49:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 05:49:53 +0800 |
commit | 3493a182b2c94e4011b2b12d61376273b985d29a (patch) | |
tree | 449238f5af448b90551f66d92ce87a4a2a317103 /README.md | |
parent | 27c5284d3dc0ab131168a73035be7d87ebda30e9 (diff) | |
download | tracifyjs-3493a182b2c94e4011b2b12d61376273b985d29a.tar.gz tracifyjs-3493a182b2c94e4011b2b12d61376273b985d29a.zip |
implement function inlining (#2053)
- empty body
- single `AST_Return`
- single `AST_SimpleStatement`
- avoid `/*#__PURE__*/`
Miscellaneous
- enhance single-use function substitution
fixes #281
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -616,6 +616,8 @@ If you're using the `X-SourceMap` header instead, you can just omit `sourceMap.u - `if_return` -- optimizations for if/return and if/continue +- `inline` -- embed simple functions + - `join_vars` -- join consecutive `var` statements - `cascade` -- small optimization for sequences, transform `x, x` into `x` |