Revision 80cf849...

Go back to digest for 14th April 2013

Optimization in Educational

Aleix Pol Gonzalez committed changes in [analitza] analitza/operations.cpp:

Optimizating squaring

It's clearly faster to call x*x than pow(). Given that the square
root is fairly common, I'll leave the optimization.

Improves 15% in curvetest testCorrectExpressions:slow-eval-implicit

File Changes

Modified 1 files
  • analitza/operations.cpp
1 files changed in total