开发者

if javascript interpreter does "JIT compilation", does it cache results of it for use on the same script next time I load the website?

to make it more specific, I mostly care about SpiderMonkey interpr开发者_如何学Goeter in Firefox.

So suppose I want to speed up the loading of a particular website in my browser or else speed up loading of all websites that have some popular script, e.g. JQuery. Presumably the scripts involved don't change between the page reloads. Will SeaMonkey understand that much and avoid full recompilation?

If SpiderMonkey wouldn't, will any other interpreter? Or is this basically a potential new feature which nobody cares about since computers are fast as is?


This is not an optimization Gecko does yet, but it's one we're looking into doing for sure. There are some complications to doing it, unfortunately.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜