3 ms·
I'm gonna guess nothing. Static inline isn't going to help a language that needs to get compiled again in browsers. In all likelihood an engine like chrome will
by slackingoff2017 9y ago
I'm gonna guess nothing. Static inline isn't going to help a language that needs to get compiled again in browsers. In all likelihood an engine like chrome will do all the optimizations they're doing and more.
It's like optimizing handwriting for readability than typing it out. You're running a transform on the code that changes the format completely, how optimized the original form is doesn't matter.
- maaaats 9y agoThis sounds like very wrong reasoning. Yes, Chrome probably does some of this stuff, but that comes at a time cost that we could take at compile time, instead of at run time in the user's browser.
- cblappert 9y agoSomeone on twitter seems to have done an experiment about startup time for a trivial app comparing the clojure compiler with and without Prepack: https://twitter.com/roman01la/status/859849179149021184 https://twitter.com/roman01la/status/859849179149021184
- placeybordeaux 9y agoWhy guess when you could test it?