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


Groups > comp.lang.python > #66594

Does CPython already has Peephole optimizations?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <laxmikant.general@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.042
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'cpython': 0.05; 'variables': 0.07; 'subject:Does': 0.09; 'article:': 0.16; 'subject:already': 0.16; 'all,': 0.19; '8bit%:5': 0.22; 'byte': 0.24; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'url:python': 0.33; 'to:name:python-list': 0.33; 'received:google.com': 0.35; 'subject:?': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'kind': 0.63; 'temporary': 0.65; 'subject:skip:o 10': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FjxEgMyjySW3AqL4ajAS1ZPwXwAGBrLHS1xF1QqJoxs=; b=QdhaWe2Y80CakARDe+E2Su2nhxL3ENXl0z+GxEIE3rtRuavSCq2+vtYLXF7p0DI+ta roRmLh/+4VGB/fd5/1ylgD7Un1lPRgr5trWZwrADzKDv+VBo1CGI55r+nQFYaKQBoTuT BBl/ZemiGggHEWIqtoYsQxQkiNEXPwLfniWkouDbXVaoZpnmLZ+2fltjJrr5sVGg7/na NlYJ0Tl3l2AgXyPev42KFOnTEGp8b7GYuRRLyYmYFNrCfhKStqUtV2XZ1829gOwr/8uo BxB8/kjlxBOQt+Q6cyMeWNJWNAPtjuRf9o0wzOvOOhSE9x1MfBNeNcGf3AKIi2uovE+c sBqw==
MIME-Version 1.0
X-Received by 10.140.83.203 with SMTP id j69mr30785534qgd.42.1392625465215; Mon, 17 Feb 2014 00:24:25 -0800 (PST)
Date Mon, 17 Feb 2014 13:54:25 +0530
Subject Does CPython already has Peephole optimizations?
From Laxmikant Chitare <laxmikant.general@gmail.com>
To python-list <python-list@python.org>
Content-Type multipart/alternative; boundary=001a11c11ed828ce1304f295e28f
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7086.1392625473.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392625473 news.xs4all.nl 2843 [2001:888:2000:d::a6]:40235
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66594

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello All,

I read about this article:
http://www.python.org/workshops/1998-11/proceedings/papers/montanaro/montanaro.html

Just wanted to clarify whether CPython already includes these kind of byte
code optimizations? Are all the temporary variables removed when byte code
is generated?

Regards,
Laxmikant

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


Thread

Does CPython already has Peephole optimizations? Laxmikant Chitare <laxmikant.general@gmail.com> - 2014-02-17 13:54 +0530
  Re: Does CPython already has Peephole optimizations? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-17 08:59 +0000
    Re: Does CPython already has Peephole optimizations? Ned Batchelder <ned@nedbatchelder.com> - 2014-02-17 07:48 -0500
    Re: Does CPython already has Peephole optimizations? Terry Reedy <tjreedy@udel.edu> - 2014-02-17 08:51 -0500
    Re: Does CPython already has Peephole optimizations? Laxmikant Chitare <laxmikant.general@gmail.com> - 2014-02-18 10:41 +0530

csiph-web