Subj : Re: Persisting a JSScript To : Sterling Bates From : Brendan Eich Date : Sun Aug 10 2003 06:19 pm 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 .