Subj : Re: SpiderMonkey's serialization/deserialization To : netscape.public.mozilla.jseng From : anton muhin Date : Wed Sep 15 2004 05:23 pm Hello, Brendan! First of all, thank you very much. I manage to compile and restore scripts with you help. And if you don't mind I have a couple of questions: 1. Compiled script is approx. 2 times bigger than the source, was it intentional (e.g. developers tried to speed things as mush as possible)? If one studies compiled scripts it's easy to find out that no string merging is performed that obviously leads to bigger size. 2. There seems to be no public API function that fetches JSScript from the JSObject. Of course, in most of the cases it's unneeded, but when the script is thawed, I need to get JSScript object to call JS_ExecuteScript on the appropriate global object (now I just use JS_GetPrivate, but it, obviously, breaks incapsulation). 3. And the last question. If I understand correctly, you was the person that wrote most of SpiderMonkey. If it's not a secret, how much time it took? With the best regards, anton. .