diff --git a/src/main.cc b/src/main.cc index 3a11feb..c54487c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -55,7 +55,8 @@ _strops() { std::string s1 = "hello world"; std::cout << "Reverse(" << s1 << "): " << StrOps::ReverseString(s1) << std::endl; // Printing this is too long - StrOps::ReverseString(randS); + // Optimization: Avoid unnecessary computation + // StrOps::ReverseString(randS); std::cout << std::endl; } @@ -192,4 +193,4 @@ main(int argc, char **argv) { _linkedlist(); _vectoralgebra(); return 0; -} +} \ No newline at end of file