Subj : Re: Persistent storage of compiled scripts To : netscape.public.mozilla.jseng From : Sterling Bates Date : Tue Jul 20 2004 12:55 pm Thorsten R wrote: > Hello, > > is it possible to compile scripts and store the resulting code persistantly > in a file for later use? > Check out this code for storing a JSScript: http://lxr.mozilla.org/mozilla/source/js/src/jsscript.c#635 Look at the script_thaw function below that restores a stored JSScript. The APIs are in jsxdrapi.h. Sterling .