4 ms·
As the gp said, async/await is rarely used in hot loops, so it would probably never get jit-ed in a real webpage.
by littlestymaar 7y ago
As the gp said, async/await is rarely used in hot loops, so it would probably never get jit-ed in a real webpage.
- yusukesuzuki 7y agoI don’t agree given that async iterator can be iterated. But I’m ok if SpiderMonkey folks thinks so ;)
- littlestymaar 7y agoAsync is mainly useful for asynchronous operations, like network requests if file system access. If used in this context, the loop cannot be "hot"… Maybe there are people (ab)using the async stuf do do something else, but at least it's not really common.
- pcwalton 7y agoI'm sure SM will get around to jitting that stuff at some point. All I'm saying is that Baseline Interpreter gives users bigger wins right now.