Commits
Click on a commit to change the comparison rangeperf(transformer/class-properties): re-use `InstanceInitializerVisitor` (#10543)
Follow-on after #10495.
1. Branch on whether `instance_inits_constructor_scope_id` is `Some` only once, rather than on each turn of the loop.
2. Only create one `InstanceInitializerVisitor` for all the inits, rather than a new one for each init. `InstanceInitializerVisitor` contains a `Stack`, so ideal to re-use it, because `Stack` performs an allocation.
These are small optimizations. I doubt will register on benchmarks.5 days ago
by overlookmotel