Answer the question
In order to leave comments, you need to log in
Does print really slow down program execution?
To what extent do various options for print'a data on the screen slow down the execution of the program? Is it possible to freeze it somehow?
Answer the question
In order to leave comments, you need to log in
It will slow down, but it will become noticeable only if you have 'long' operations or millions of 'fast' operations. Any output to the screen / zhd / other media, by definition, is not instantaneous.
If we abstract from programming languages, the problem being solved, and everything else, then it will be, moreover, very strongly.
And you need to look at the specifics.
There are profilers for measuring.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question