Sep 19, 2023
I'm sorry, but any C++ programmer should already know this.
As for your "parallelization" trick, this will only work if your algorithm is already parallelized. But a large number of algorithms must be calculated in sequence. Try computing Fibonacci numbers that way!