You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyze script and simplify the functions by applying the following transformations until they have no effect.
Merge sum expressions (add and subtract)
Merge shift expressions (ptr+ and ptr-)
Static value analysis
a. Go through the program and loops with a state which can either be an number or unknown
b. Begin with a state of zero
c. At the end of a loop/if, state is guranteed zero
d. Sum expressions modify state
e. Shift expressions destroy state, stopping optimization
f. Body of loop has no defined state
g. Replace sub expressions with static state, replace with set expressions
h. If end of body of loop has static state of zero, then treat as if statement
i. Inside of an if statement, inherit previous state before if statement
j. If statements with nonzero static state simplify to contents
h. If/loop statements with zero static state disappear
This can provide extreme performance boosts.
The text was updated successfully, but these errors were encountered:
Analyze script and simplify the functions by applying the following transformations until they have no effect.
a. Go through the program and loops with a state which can either be an number or unknown
b. Begin with a state of zero
c. At the end of a loop/if, state is guranteed zero
d. Sum expressions modify state
e. Shift expressions destroy state, stopping optimization
f. Body of loop has no defined state
g. Replace sub expressions with static state, replace with set expressions
h. If end of body of loop has static state of zero, then treat as if statement
i. Inside of an if statement, inherit previous state before if statement
j. If statements with nonzero static state simplify to contents
h. If/loop statements with zero static state disappear
This can provide extreme performance boosts.
The text was updated successfully, but these errors were encountered: