Re; Out of stack space and ASP

by John.ksi(at)webplus.net

 Date:  Wed, 29 Sep 1999 11:34 EDT
 To:  hwg-servers(at)hwg.org
  todo: View Thread, Original

>	Use local variables, avoid public variables. Local variables can be
>accessed quicker by the ASP scripting engine than public variables, since
>the entire namespace doesn't have to be searched to access the value of a
>local variable.

OK, point taken.  But if the choice is between slowing down
variable look-ups vs running out of stack space, then well, much of
programming is all about trade-offs, but I think making *large*
variables public should perhaps be investigated as a workable
solution.  I gather a large variable takes up as much room
in the "namespace" as a small variable.  If so, then making a
few large variable public sounds like a small penalty for a big gain...?

-John

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA