swc/ecmascript/utils/src
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
..
constructor.rs fix(strip): Combine typescript_class_properties() into strip() (#1478) 2021-03-21 22:31:35 +09:00
factory.rs chore: Improve documentation for rust users (#2340) 2021-10-04 06:10:30 +00:00
ident.rs fix(bundler): Prepare renaming of bundler (#2066) 2021-08-13 10:03:04 +00:00
lib.rs perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00
loader.rs fix(es/codegen): Fix codegen of arrow expressions. (#1452) 2021-03-20 15:30:54 +09:00
macros.rs fix(es/utils): Fix macros (#2349) 2021-10-05 09:14:25 +00:00
value.rs Use stable rustc (#886) 2020-07-24 02:18:22 +09:00
var.rs perf(es/transforms): Improve performance (#2329) 2021-10-05 13:31:35 +00:00