Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.082 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.06; 'fixes': 0.07; 'cc:addr :python-list': 0.11; 'both,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'magic': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'skip:t 40': 0.33; 'received:google.com': 0.35; 'dust': 0.84; 'everything,': 0.84; 'everything.': 0.84; 'notion': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ItdXLFAc6Nq3YrgfrK/7aX5ZoqYCPSq9XRGDQCrSFxQ=; b=W+CFUVfmUe7vYI8/3gGwcGBb7vZD4XzQ0ZoHZOyICOWBWxz7HwxilbtBA2LY2/5bx3 bZ5VWyjp9vs+WEAdqad2eztg5mDknFo0/29+8AIPefcuzLKZzLgLeTHrkEM/YFTLRDQ9 Vgo6JFKsBR4r+xiWQVzIlyUVT/wRWkvmUsK7nX9FNncVyFyuVues7tnqMPWHKVa+Bkbz qNUYrkVkO37SHWvAB24MJr/HBUq4evo9474xVQufPHbMGKlYHheJLeHMTj47UkM+YzkB JQF5KxMNg3RheFCK0djIPTe6LFKLj46XWmVGYvRtaxl7o23nMDVGcqD9rqXL8osFnD5Z lzwg== MIME-Version: 1.0 X-Received: by 10.58.10.227 with SMTP id l3mr679292veb.16.1403915355391; Fri, 27 Jun 2014 17:29:15 -0700 (PDT) In-Reply-To: References: <53acdd24$0$29985$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 28 Jun 2014 10:29:15 +1000 Subject: Re: print statements and profiling a function slowed performance From: Chris Angelico Cc: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403915364 news.xs4all.nl 2930 [2001:888:2000:d::a6]:42081 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73682 On Sat, Jun 28, 2014 at 10:12 AM, Skip Montanaro wrote: > threading-doesn't-always-speed-things-up-ly, y'rs, 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. ChrisA