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

Alternate Approach to Loop Optimization

Open Smorgasbordq opened this issue 5 years ago • 1 comments
trafficstars

Hello! This isn't so much an issue, as it is an alternate approach to loop optimization. I've forked this project over here.

Among the changes are reimplementing all functions to be handled by Handle_map with a enum mode, adding reduce/reduceRight/some, including benchmarks, pre-allocating the array for .map, and transforming inline functions directly into the for statements.

I haven't issued a PR, since this is quite a change to the way the original project was implemented. But if it's desired, I could make one. Or, a developer could grab some of the work from my repo if they like!

Smorgasbordq avatar Apr 05 '20 19:04 Smorgasbordq

@Smorgasbordq

Hi!

why didn't you publish your work in npm?

PS: by the way, the code falls with some errors

budarin avatar Oct 29 '22 10:10 budarin