print statements and profiling a function slowed performance
Michael Torrie
torriem at gmail.com
Thu Jun 26 21:59:22 EDT 2014
On 06/26/2014 02:36 PM, CM wrote:
>> What I do find Heisenbergian are bugs that show
>> up when debugging and profiling stuff are removed,
>> but completely gone when present. IE profiling and
>> debugging slow it down enough that often subtle race
>> conditions are masked.
>
> Would never have occurred to me. That *is* odd!
If you never work with threads then you probably won't encounter this issue.
More information about the Python-list
mailing list