Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Lawrence Newsgroups: comp.lang.python Subject: Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?) Date: Fri, 25 Mar 2016 21:07:31 +0000 Lines: 23 Message-ID: References: <56e7483d$0$1608$c3e8da3$5496439d@news.astraweb.com> <56ef9787$0$1516$c3e8da3$5496439d@news.astraweb.com> <56f02196$0$1588$c3e8da3$5496439d@news.astraweb.com> <56f42d9f$0$1618$c3e8da3$5496439d@news.astraweb.com> <56F4A72E.5000402@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 23TSV/UBLPuKireGICBdggcGECJXYyKSwt2nkUY1mzYg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:which': 0.09; 'python': 0.10; 'python.': 0.11; 'at,': 0.16; 'devs': 0.16; 'pythonic': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:?)': 0.16; 'wrote:': 0.16; 'language': 0.19; 'lawrence': 0.22; 'trying': 0.22; 'bit': 0.23; 'seems': 0.23; 'words': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'back.': 0.27; 'coded': 0.29; 'thread,': 0.29; "i'd": 0.31; 'certain': 0.31; 'language.': 0.32; 'michael': 0.33; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'say': 0.37; 'received:org': 0.37; 'things': 0.38; 'to:addr:python.org': 0.40; 'mark': 0.40; 'still': 0.40; 'some': 0.40; 'subject:The': 0.61; 'charset:windows-1252': 0.62; 'our': 0.64; 'grab': 0.64; 'worth': 0.67; 'gotten': 0.76; 'pythonistas,': 0.84; 'period.': 0.95 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 212.103.226.230 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 In-Reply-To: <56F4A72E.5000402@gmail.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105705 On 25/03/2016 02:49, Michael Torrie wrote: > > I've been trying to follow things on this thread, and I understand a bit > about Pythonic ideomatic style and I know what Python is really good at > and some of what it's not so good at, but it seems like one of Bart's > original contentions was that given a certain problem, coded in a > non-pythonic way, got slower under Python 3 than it was under Python 2 > (if I recall correctly). In other words a performance regression. > Somehow this seems to have gotten lost in the squabble over how one > should use Python. > Python 3 is slower, period. The devs are trying to grab some of that back. I'd still say that the additions in Python 3, many of which were backported to 2.6/7, were worth this regression. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence