4 ms·
> Does tracing have any advantages? In summary, I think the advantage of tracing is its ability to give very good best- and average-case performance (albeit wi
by tarmit 9y ago
> Does tracing have any advantages?
In summary, I think the advantage of tracing is its ability to give very good best- and average-case performance (albeit with poor worst-case performance), with less complexity than method-based compilation. This is a good trade-off for LuaJIT (a few people supporting ~50kLoC and specifically targeting a small footprint), but not for the leading JavaScript engines (who can afford large teams and millions of LoC).