I am surprised that I can't find this discussed anywhere. As usual in jupyter, when you evaluate a cell that ends with an expression and not ; that value is printed. Why is this slower than std::cout << ... << std::endl;? Takes a whole second just to print an integer. I don't notice this difference in the cling repl.
I am surprised that I can't find this discussed anywhere. As usual in jupyter, when you evaluate a cell that ends with an expression and not
;
that value is printed. Why is this slower thanstd::cout << ... << std::endl;
? Takes a whole second just to print an integer. I don't notice this difference in the cling repl.