swc/ecmascript
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
..
ast perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
babel feat(babel/compat): Support type-only import/export specifiers (#2342) 2021-10-05 18:27:45 +09:00
codegen fix(es): Fix performance bugs (#2313) 2021-09-29 12:10:38 +00:00
dep-graph feat(es): Support type-only import/export specifiers (#2309) 2021-09-28 22:05:20 +09:00
ext-transforms feat(es): Support type-only import/export specifiers (#2309) 2021-09-28 22:05:20 +09:00
jsdoc feat(es): Support type-only import/export specifiers (#2309) 2021-09-28 22:05:20 +09:00
loader feat(es): Support type-only import/export specifiers (#2309) 2021-09-28 22:05:20 +09:00
minifier perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
parser chore: Update rustc (#2332) 2021-10-01 12:11:17 +00:00
preset-env perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
src feat(es): Reexport minifier from swc_ecmascript (#2146) 2021-08-24 20:38:16 +00:00
transforms perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
utils perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
visit feat(es): Support type-only import/export specifiers (#2309) 2021-09-28 22:05:20 +09:00
Cargo.toml perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00