diff --git a/index.html b/index.html index 2bad18e..1167fd9 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ body {background:#f0fcff;} a {text-decoration:none;color:blue;} a:hover {text-decoration:underline;} a:visited {color:#8000c0;} -pre, code { background:#e8e8f8; } +pre, code { background:#e8e8f8; padding:2px; } pre { padding:4px; } @@ -300,9 +300,9 @@ llOwnerSay("Program version " STRINGIFY(VERSION)

Dead code removal

-

This part of the optimizer tracks execution and usage of statements and variables, removing the ones that aren't used. It performs a function similar to that of the Firestorm optimizer, but it can remove also unused locals, and isn't confused by having a global and a local with the same name.

+

This part of the optimizer tracks execution and usage of statements and variables, removing the ones that aren't used. It performs a function similar to that of the Firestorm optimizer, but it can remove also unused locals and dead code after a return or jump, and isn't confused by having a global and a local with the same name.

-

It also replaces references to integer variables that are not written to (global or local), with their value. For example:

+

It also replaces references to integer, string and key variables that are not written to (global or local), with their value. For example:

integer ANSWER = 42;
 default
@@ -333,7 +333,7 @@ default
 
 

Floats

-

Floats under Mono are internally double precision, so float constants take four more bytes than integers. On the other hand, type cast from integer to float takes only one byte. This optimization substitutes floats with integers where possible, for an overall saving of three bytes per number.

+

Floats under Mono are internally double precision, so float constants take four more bytes than integers. On the other hand, type cast from integer to float takes only one byte. This optimization substitutes floats with integers where possible, for an overall saving of three bytes per number. For example, it transforms llSetTimerEvent(0.0) into llSetTimerEvent(0).

Signs