-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(transformer/arrow-function): optimize `generate_super_binding_na…
…me` (#7312) Optimize this function in various ways: * Return a static `Atom` (rather than allocating into arena) if no `property`. * Reserve capacity for `ArenaString` at start. * Make path for unicode identifiers (very rare case) `#[cold]` and `#[inline(never)]`. * Slightly faster uppercase conversion.
- Loading branch information
1 parent
50c18c7
commit 4892875
Showing
1 changed file
with
34 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters