swc/ecmascript/transforms
Donny/강동윤 fac6f47863
perf(es/transforms): Improve performance (#2329)
swc_ecma_ast:
 - Implement `Take` for `Function`.
 - Implement `Take` for `FnExpr`.
 - Implement `Take` for `ClassExpr`.

swc_ecma_transforms_compat:
 - Migrate `es2015::duplicate_keys` to `VisitMut`.
 - Migrate `es2015::template_literals` to `VisitMut`.
 - Migrate `es2015::function_name` to `VisitMut`.
 - Add more fast-path to `reserved_words` pass.

swc_ecma_transforms_react:
 - Reduce allocations of `pure_annotations`.
 - Migrate `pure_annotations` to `VisitMut`.
 - Migrate `jsx::display_name` to `VisitMut`.

swc_ecma_transforms_optimization:
 - Migrate `inline_globals` to `VisitMut`.
 - `inline_globals`: Use `Lrc<FxHashMap<K, V>>`.

swc:
 - Cache `current_dir()`.
 - `ModuleConfig::build`: cacnonicalize only if `paths` is used.
2021-10-05 13:31:35 +00:00
..
base fix(es): Fix performance bugs (#2313) 2021-09-29 12:10:38 +00:00
classes fix(es): Fix performance bugs (#2313) 2021-09-29 12:10:38 +00:00
compat perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
macros chore(ci): Configure github actions for rustdoc (#1523) 2021-03-31 13:09:10 +09:00
module perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
optimization perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
proposal perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
react perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
scripts Add more tests (#489) 2019-12-09 21:02:51 +09:00
src fix(bundler): Prepare renaming of bundler (#2066) 2021-08-13 10:03:04 +00:00
testing fix(es): Fix performance bugs (#2313) 2021-09-29 12:10:38 +00:00
tests feat(es/parser, es/transform): Implement ergonomic brand checking (#2079) 2021-09-27 08:03:48 +00:00
typescript perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
Cargo.toml perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
package.json fix(es): Fix bugs (#2055) 2021-08-12 12:28:58 +00:00
yarn.lock fix(es): Fix bugs (#2055) 2021-08-12 12:28:58 +00:00