Subj : Re: Persisting a JSScript To : netscape.public.mozilla.jseng From : Louis Paul Santillan Date : Wed Aug 13 2003 03:02 pm Is there a similar process available to SpiderMonkey users? There seems to have been similar posts in the past but no sort of real documentation. Louis On Sun, 10 Aug 2003, Brendan Eich wrote: > Sterling Bates wrote: > > >While looking at what it takes to persist a JSScript to disk, I'm under the > >impression that it would take more skill than I have. Has anybody ever done > >so successfully? > > > > Mozilla does every time you start up with out a XUL FastLoad File in > your profile -- and when such a valid file exists, it deserializes > scripts. See jsxdrapi.h and the Script.prototype.freeze and Script.thaw > methods. > > /be > > .