Optimize binary expressions #5
Labels
Compiler Optimization
This issue or pull request is about optimizing the output of the compiler.
enhancement
New feature or request
So, we have this AST, representing
100 + 200 + 300
.In the end they are all number literals, so we can just optimize this to the expression below, because at compiletime we know these numbers will never change, they are constant.
The text was updated successfully, but these errors were encountered: