Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python': 0.09; 'command- line': 0.09; 'subject:()': 0.09; 'sure,': 0.09; 'language,': 0.11; 'language': 0.14; 'dec': 0.15; 'server,': 0.15; 'calculator': 0.16; 'fires': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hardware.': 0.16; 'hits': 0.16; 'mercurial,': 0.16; 'obsessed': 0.16; 'subject:3.3': 0.16; 'subject:unicode': 0.16; 'two,': 0.16; 'ways:': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'requests': 0.18; 'variable': 0.20; 'written': 0.20; 'fairly': 0.21; 'fixing': 0.22; 'work,': 0.22; 'second': 0.24; 'header:In- Reply-To:1': 0.25; 'bugs': 0.27; 'handling': 0.27; 'execution': 0.27; 'important.': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'run': 0.28; 'once,': 0.29; 'really,': 0.29; 'source': 0.29; 'usually': 0.30; 'seconds': 0.30; 'certain': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'awesome': 0.35; 'doing': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'should': 0.36; 'too': 0.36; 'does': 0.37; 'level': 0.37; 'why': 0.37; 'quite': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'matter': 0.61; 'subject:, ': 0.61; 'first': 0.61; 'back': 0.62; 'worth': 0.63; 'times': 0.63; 'more': 0.63; 'services': 0.64; '20,': 0.65; 'sit': 0.65; 'internet': 0.71; 'further,': 0.71; 'day': 0.73; 'areas.': 0.84; 'inefficient': 0.91; 'instantly': 0.93 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:to :content-type:content-transfer-encoding; bh=sfMGPA+rkgNqXM51v0AKlxHbnF2E55HgI2hKze5xHXI=; b=Dzuh1pdM/KAaRp2QnowCIfY/VdBuAcNVLoo/KzY6Nri6okndu3Qj2Aguunh1GmAOuL xn30tcsj5w4YUrjQmSMyOnFMqFAddjRSioJtjbkkHnYpWVEzeq8XW0Q53sbWrfx7MiGF l1RhFSD0tx8UFYM+lWx74M3i817wjMUezB/HPMvkeLkHieLSyO/1K9TnapzXJ2uckjzL UNxVKIk8HG+pl2fnaBN//pDgzmqOBjAwvVoetxndEoijtbRZFFSY0pxhVJJBRSH8JX+B yptQn6xckO5lHFS3meb1BT3gjF9A2vkaehwdZn05ydDITHHBqEKrWC7LwZTQC+mtaJan Vc7g== MIME-Version: 1.0 In-Reply-To: <20121220031223.GB12012@Kubrick> References: <2adb4a25-8ea3-441f-b8c0-ee6c87e4b19f@googlegroups.com> <20121220031223.GB12012@Kubrick> Date: Thu, 20 Dec 2012 14:22:41 +1100 Subject: Re: Py 3.3, unicode / upper() From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355973763 news.xs4all.nl 6873 [2001:888:2000:d::a6]:42559 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35179 On Thu, Dec 20, 2012 at 2:12 PM, Westley Mart=EDnez wr= ote: > Really, why should we be so obsessed with speed anyways? Isn't > improving the language and fixing bugs far more important? Because speed is very important in certain areas. Python can be used in many ways: * Command-line calculator with awesome precision and variable handling * Proglets, written once and run once, doing one simple job and then moving= on * Applications that do heaps of work and are run multiple times a day * Internet services (eg web server), contacted many times a second * Etcetera * Etcetera * And quite a few other ways too For the first two, performance isn't very important. No matter how slow the language, it's still going to respond "3" instantly when you enter "1+2", and unless you're writing something hopelessly inefficient or brute-force, the time spent writing a proglet usually dwarfs its execution time. But performance is very important for something like Mercurial, which is invoked many times and always with the user waiting for it. You want to get back to work, not sit there for X seconds while your source control engine fires up and does something. And with a web server, language performance translates fairly directly into latency AND potential requests per second on any given hardware. To be sure, a lot of Python performance hits the level of "sufficient" and doesn't need to go further, but it's still worth considering. ChrisA