2 ms·
it's possible to do such optimizations for a (safe) subset of javascript, such as these pure functions. Arguably java has a larger subset even today.
by lurker456 9y ago
it's possible to do such optimizations for a (safe) subset of javascript, such as these pure functions.
Arguably java has a larger subset even today.
- xg15 9y agoI think the remarkable point in the above optimisation was that the non-pure functions define() and require() were also subject of optimisation even though the optimizer had no special knowledge about them. Using symbolic execution, the optimizer nevertheless was able to reason about them.