On Fri, 19 May 2000 11:08:12 +0100, [EMAIL PROTECTED] wrote:
>Ah, but does it have a "Reset the data page for this script to be as it was when
>I parsed the page, but hadn't actually executed any code" call.
>If it doesn't (and that's what mod_perl does have), then when you executed the
>page again it would still have all it's globals etc. set up as they were after
>the previous page. This would be a source of more than just a few bugs.
>
>That's why I think (note my previous disclaimer - "think") that ASP may
>pre-compile a script (ie load and compile it before it's needed), but it still
>does this (currently) once for every page invocation: the only way it has to get
>a page back to its original state is to start a new one from scratch.
No, Active Scripting Engines can support a Clone() method to allow
duplication of already compiled scripts. This isn't implemented in
PerlScript from builds 5xx whereas VBScript and JavaScript do support it.
This functionality has been added to PerlScript in the 6xx series, but
with build 613, PerlScript doesn't work under IIS5. I believe the cloning
feature has been tested with build 613 on IIS4 and it seemed to work. I
have no idea if anyone actually run benchmarks to find out how much speed
improvement it actually gives (instead of compiling the script you have to
copy the optree and symbol tables, so cloning isn't really free either).
-Jan
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]