Given a function such as a computation that would benefit from running at full speed, is it possible to optimize only that function rather than the full program? That is, compile with debug but optimize specific code: pragma(optimize, "O3") auto fastAdd(A,B)