logoalt Hacker News

win311fwgyesterday at 2:24 PM0 repliesview on HN

There is nothing in the language spec. It leaves it up to the implementation to decide how to optimize. Whether or not your implementation has an extension to perform the same will ultimately depend on the implementation you are using, although you are unlikely to find it in any of the popular implementations.