Logical Expression Repalcement with Arithmatic Expression, Optimisation #46
Labels
backlog
Good idea but bad effort to value ratio right now
enhancement
New feature or request
optimisation
Everything regarding better code
Sometimes logical expressions can be replaced by arithmatic expressions, due to YOLOL using number type variables for booleans.
Example:
I'm not sure of all the places these expressions can be substituted, for example,
x+= a or b
can result in a different output fromx+= a+b
.Perhaps it is best to just replace statements used for logical evaluation, i.e.
if x then ...
Thank you.
The text was updated successfully, but these errors were encountered: