5 Answers
New Answer- Decrease number of steps required to finish - Remove/replace time consuming tasks like calculating cos
Additionally to the suggestions from TurtleShell, using compilation time comes to my mind. For example in C++, the compiler is able to evaluate "const" and "constexpr" expressions at compile time, meaning it isn't necessary at runtime anymore, effectively decreasing the runtime of your program. For C++, look up "Template Meta Programming" for more information on this topic.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message