Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8319

Re: performance critical Python features

Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'python': 0.08; 'executed': 0.09; 'subject:features': 0.09; 'am,': 0.13; 'wrote:': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'rfc': 0.16; 'received:209.85.210.174': 0.19; 'received:mail-iy0-f174.google.com': 0.19; 'input': 0.21; 'primarily': 0.22; 'header:In-Reply-To:1': 0.22; 'interpreted': 0.23; 'pieces': 0.23; 'keyword': 0.25; '(the': 0.28; 'fri,': 0.28; 'message-id:@mail.gmail.com': 0.28; '24,': 0.29; 'second': 0.29; 'to:addr:python-list': 0.34; 'things': 0.35; 'optimization': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'user': 0.38; 'eric': 0.38; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'per': 0.60; 'jun': 0.67; 'heavy': 0.71; 'snow': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=llxwWslwqsT27djGp8ez/ArIcAOdQSPqc9/q/+pgLvY=; b=NASIA4mwvOSC/5mkAYKdjqWl2g9kAfOXzCOARqrHEistLm4FtKUTsap08d7EiUAMoT fkRpirab5r67u+fUCRRXw/YokfRkLwLEG5CTjoTw45GvgbuJhP1psjypIANabemrBnhV BLhmFp1fY7g89zRjht9bJ7eEEodNpC266lnWQ=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TP8+uJbJqKzjU3ls7UVEKkFI+dJ7MeRtkqT4DLyV8isisp517fwblVq0PWvW+ak7o2 qCRH7hIkZX90dnijjBCNDpJaA/ITiHwZkvwlaQJ/x+HtLwEKciPm9GM/94MdD2oz7l8V LguAVu9luMJPGkhwpRixZFvjldA645w/AGD9A=
MIME-Version 1.0
In-Reply-To <BANLkTimZk6C4PECy6KNrQ91fWNQG37Mgjw@mail.gmail.com>
References <BANLkTimZk6C4PECy6KNrQ91fWNQG37Mgjw@mail.gmail.com>
Date Fri, 24 Jun 2011 04:00:17 +1000
Subject Re: performance critical Python features
From Chris Angelico <rosuav@gmail.com>
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.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.337.1308852020.1164.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 82.94.164.166
X-Trace 1308852020 news.xs4all.nl 14136 [::ffff:82.94.164.166]:48911
X-Complaints-To abuse@xs4all.nl
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8319

Show key headers only | View raw


On Fri, Jun 24, 2011 at 2:58 AM, Eric Snow <ericsnowcurrently@gmail.com> wrote:
> So, which are the other pieces of Python that really need the heavy
> optimization and which are those that don't?  Thanks.
>

Things that are executed once (imports, class/func definitions) and
things that primarily wait for user input don't need to be optimized.
Things that get executed millions of times a second MAY need to be
optimized.

ChrisA
(The keyword MAY is to be interpreted as per RFC 2119.)

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: performance critical Python features Chris Angelico <rosuav@gmail.com> - 2011-06-24 04:00 +1000
  Re: performance critical Python features Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-24 00:07 +0000
    Re: performance critical Python features Chris Angelico <rosuav@gmail.com> - 2011-06-24 12:08 +1000

csiph-web