aspect-build / rules_swc

Bazel rules for the swc toolchain https://swc.rs/
https://docs.aspect.build/rules/aspect_rules_swc
Apache License 2.0
41 stars 21 forks source link

perf: avoid creating unnecessary large or temp arrays #233

Closed jbedard closed 3 months ago

jbedard commented 3 months ago

https://github.com/aspect-build/rules_swc/commit/6bf6610494cbb7589b5e34f3d834abd8c19e55d0 made a noticeable difference so I think we should do similar elsewhere, especially when iterating over potentially large arrays.


Type of change

Test plan