4 ms·
Usually if the code is really single use then the optimal solution is to interpret before JITing. The more severe case of this in modern JITs is inline cache r
by pizlonator 6y ago
Usually if the code is really single use then the optimal solution is to interpret before JITing.
The more severe case of this in modern JITs is inline cache repatching. That’s super frequent.
- Jweb_Guru 6y ago> Usually if the code is really single use then the optimal solution is to interpret before JITing. This is the conventional wisdom, yes, but recently (for very long-running database queries at least) it seems to be less true.
- saagarjha 6y agoIf you know something is long running, then yes it makes sense to compile it early. If you don’t, then interpreting until you have it compiled and then OSRing usually does a good job.