Files
LSL-PyOptimizer/lslopt
Sei Lisa 3f61e6f7bf Make IsBool smarter when finding whether an expression is boolean.
It was failing with a && b && c where a, b, c were known to be bools. It managed to simplify them to a & b & -c but that's not optimal.

Now it recurses on some operators that may return bool when used with bool operands: &, |, ^, * (in the case of &, it's bool if either operand is; for the rest, it's bool if both are). As a result, the above now simplifies to a & b & c, which is optimal.
2017-08-02 01:15:25 +02:00
..
2014-07-26 02:43:44 +02:00
2017-01-28 05:04:26 +01:00
2017-01-28 03:36:25 +01:00