On Tue, Jun 13, 2017 at 12:10:58PM -0400, Boris Zbarsky wrote:
> On 6/13/17 11:00 AM, Dirkjan Ochtman wrote:
> > Has anyone thought about doing similar things for chrome JS?
> 
> We've been doing fastload for chrome JS (and indeed for entire chrome XUL
> documents, including their scripts) for 15+ years now, no?

Back memory lane...

Fastload is 16 years old according to bugzilla (bug 68045), but was
removed 6 years ago (bug 654489) in favor of startupcache (bug 592943),
which, BTW, we're not generating at build time anymore as of Firefox 55
(bug 1351071) (but we're still generating it at startup time).

I don't remember what fastload was keeping around, but startupcache
stores pre-parsed JS, but I'm not sure of the details, whether that's
some AST or something else. Storing bytecode instead could still be a
win.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to