ArmaScriptCompiler
ArmaScriptCompiler copied to clipboard
Optimize && operator
baermitumlaut [5:01 PM] @dedmen another optimization idea: transform BOOL && BOOL to BOOL && CODE
dedmen [5:03 PM]
Yeah. Thought about that but wasn't sure if there might be any caveats that are complicated to solve maybe.
More specifically, I thought about adding a "lazy compare" script function/instruction. That you just give a array of code to.
That does real lazy eval. And not still evaluate all the other &&'s even though it's already false.