Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: print statements and profiling a function slowed performance Date: Sat, 28 Jun 2014 22:20:19 +0300 Organization: A noiseless patient Spider Lines: 14 Message-ID: <87wqc0hmdo.fsf@elektro.pacujo.net> References: <53acdd24$0$29985$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="17938"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ne027BS832rucqFc98jfW" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:T8/fWvZ7pE/okwE4ED+kg+LLSQI= sha1:kknfOuju6YI7qRHq3VyrNdOupNg= Xref: csiph.com comp.lang.python:73714 Chris Angelico : > Threading is a focus of so many myths. People who don't understand it > think that threads are magic pixie dust that fixes everything, or else > magic pixie dust that breaks everything. Or both, at the same time. > Neither notion is true. I'm in the latter camp. More precisely: threads have their uses but they are used far too much and not feared nearly enough. Marko