diff options
author | Cashew <52880648+Scrub1492@users.noreply.github.com> | 2024-02-07 17:54:49 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 10:54:49 +0000 |
commit | 0e9c28f9c713421c23e80a3a55d5233dd36d08de (patch) | |
tree | eb1074122211b325fc98cdec49c53bd078d34a94 /types | |
parent | 356adeb2dc482de3eee9af8ea116095c3a2d0d42 (diff) |
Transformation performance optimizations (#645)
* perform transformation bounds
* fix wrong continue
* fix wrong undefined check
* regex performance
* suffixHeuristic
* escape RegExp
* fix escapeRegExp
* move destructuring after suffixHeuristic check
---------
Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Diffstat (limited to 'types')
-rw-r--r-- | types/ext/language-transformer-internal.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/ext/language-transformer-internal.d.ts b/types/ext/language-transformer-internal.d.ts index cb0899e9..c186eeca 100644 --- a/types/ext/language-transformer-internal.d.ts +++ b/types/ext/language-transformer-internal.d.ts @@ -18,6 +18,7 @@ export type Transform = { name: string; rules: Rule[]; + suffixHeuristic: RegExp; }; export type Rule = { |