mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
18 lines
687 B
Text
18 lines
687 B
Text
default{timer(){
|
|
integer ia = llGetUnixTime();
|
|
integer ib = llGetUnixTime();
|
|
integer ic = -5;
|
|
integer id = -ic*ia;
|
|
float fa = llGetTime();
|
|
float fb = llGetTime();
|
|
float fc = -5.5;
|
|
float fd = -fc*fa;
|
|
// FIXME: This is broken in the output module.
|
|
// The output should parenthesize the first two factors in the products,
|
|
// just as they are in the source. Fortunately they are equivalent.
|
|
// FIXME: The output is not optimal.
|
|
// It would suffice to add a space without parenthesizing the --ia,
|
|
// just like in the source.
|
|
llOwnerSay((string)[(- --ia*ib)*ib, (-++ia*ib)*ib, --ia*ib, id]);
|
|
llOwnerSay((string)[(- --fa*fb)*fb, (-++fa*fb)*fb, --fa*fb, fd]);
|
|
}}
|