mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 07:38:21 +00:00
This enables an option that was being done unconditionally: to swap the `if` and `else` branches if the condition is shorter when negated. Enabled by default.
7 lines
151 B
Text
7 lines
151 B
Text
default{timer(){
|
|
|
|
integer a = llGetLinkNumber();
|
|
if (a == 3) llOwnerSay("1"); else llOwnerSay("2");
|
|
if (!a) llOwnerSay("3"); else llOwnerSay("4");
|
|
|
|
}}
|