babel-plugin-loop-optimizer icon indicating copy to clipboard operation
babel-plugin-loop-optimizer copied to clipboard

The plugin isn't optimized for small arrays

Open Tainan404 opened this issue 5 years ago • 0 comments

I used the benchmark.js to create the tests, the diffence is the number of items in the array, in small arrays with hundred items the puglin doesn't optimize the code. image

Here's the gist with the code

Tainan404 avatar Jan 24 '20 20:01 Tainan404