-
- Downloads
Improve compilation CPU and memory use for binary operators
Actually complexity goes from O(N^3) to O(N^2) at compilation since returned type of binary expressions is no more used to define operator types. Conversion is done automatically which give a bit more work for each case to the compiler but reduces considerably the number of situations to compile
Showing
- src/language/ASTNodeBinaryOperatorExpressionBuilder.cpp 26 additions, 47 deletionssrc/language/ASTNodeBinaryOperatorExpressionBuilder.cpp
- src/language/ASTNodeBinaryOperatorExpressionBuilder.hpp 4 additions, 1 deletionsrc/language/ASTNodeBinaryOperatorExpressionBuilder.hpp
- src/language/ASTNodeDataType.hpp 45 additions, 0 deletionssrc/language/ASTNodeDataType.hpp
- src/language/ASTNodeExpressionBuilder.cpp 1 addition, 1 deletionsrc/language/ASTNodeExpressionBuilder.cpp
Loading
Please register or sign in to comment