FWIW, you can check your code for accidental global assignments  
(i.e., places where you forgot to say `var`) by enabling  
compiler.warn.globalassignments in WEB-INF/lps/config/lps.properties,  
or by using `lzc -DwarnGlobalAssignments`.

The rest of the comments are about common sub-expression elimination,  
which the compiler should do for you, but unfortunately our compiler  
is about as smart as a circa 1980 C compiler...

On 2006-09-01, at 11:42 EDT, Adam Wolff wrote:

> old, but potentially useful:
>     http://blogs.msdn.com/ie/default.aspx
>
> one thing I hadn't thought of: assigning global functions to a local
> before calling them repeatedly.
>
> A
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev


_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to