3 ms·
I wonder if it's the compiled code entirely or also the architecture. Babel has a notoriously flexible design with tons of extensions reaching in and messing wi
by hajile 5y ago
I wonder if it's the compiled code entirely or also the architecture. Babel has a notoriously flexible design with tons of extensions reaching in and messing with things.
I'd bet that you could probably get close to 2x the performance if you stripped it down to the same feature set (it would still be 2-3x slower, but a dramatic improvement).
- acemarke 5y agoThat's basically what Sucrase.js is: https://github.com/alangpierce/sucrase https://github.com/alangpierce/sucrase