Closed hediet closed 1 year ago
const arr = new Array<T>();
<->
const arr: T[] = [];
The second one is faster (by 5-10%).
Thanks, great suggestion!
I've just released v1.121.0, which adds this refactoring. Thanks for the idea!
v1.121.0
<->
The second one is faster (by 5-10%).