UseModWiki | WikiPatches | RecentChanges | Preferences

Compile it when i Need it

Another approach to DeferredCompile, which makes every sub a separately compiled piece of code, that is compiled once and only once the first time the sub is called.

Why every sub? - well that way the /PatchPipe can generate the code automatically, without really knowing what is inside each sub. Question is, with all those itty-bitty evals going on, will it lose more than it will save?

I will report back when I've found out. Compile time makes more difference to me than to most wiki users because

so in comparison to most of you I get fast transport and slow Perl. It also matters to my WebAdmin? because

UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited November 28, 2001 7:46 am by RiVer (diff)