5 ms·
Why "discard the current runtime frame, and resume execution in the interpreter" rather than jump into a compiled but unoptimized version of the function?
by drfuchs 10y ago
Why "discard the current runtime frame, and resume execution in the interpreter" rather than jump into a compiled but unoptimized version of the function?
- pcwalton 10y agoYou could do the latter too, and that's what V8 does for example (at least until they roll out the interpreter).
- sanjoy_das 10y agoYup. The "obvious" downside to that is that you'll burn CPU cycles and memory by generating and keeping around a slow-but-correct compile for every function.
- deleted 10y ago[deleted]