Forum OpenACS Q&A: Response to Defining ad_procs within a script?

Collapse
Posted by Don Baccus on
Hmmm...it will probably be recompiled each time the script's run, rather than just once when it's loaded as would be the case if it were in the library.

I'm not sure, though.  There's a Rob Mayoff hack in AOLserver 3.3+ad13 that save compiled bytes for the top-level script itself, but I think embedded procs may get recompiled (because "proc" itself is just a command, after all).

Does anyone know?