Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42841
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'mrab': 0.05; 'subject:Python': 0.06; 'portions': 0.09; 'replied': 0.09; 'rewrite': 0.09; 'python': 0.11; 'extension,': 0.16; 'itself,': 0.16; 'limiting': 0.16; 'numpy': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'code,': 0.22; 'sort': 0.25; "i've": 0.25; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; '20%': 0.31; 'fixing': 0.31; 'post.': 0.31; 'subject:what': 0.31; 'fri,': 0.33; 'subject:the': 0.34; 'problem': 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'should': 0.36; 'received:209': 0.37; 'performance': 0.37; 'to:addr:python-list': 0.38; 'itself': 0.39; 'reported': 0.39; 'to:addr:python.org': 0.39; 'improved': 0.60; 'identify': 0.61; 'john': 0.61; 'within': 0.65; 'boost': 0.70; 'increase': 0.74; 'compiling': 0.84; 'subject:latest': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=dwsmJYbJnncHIkt7KxuPkBn881ALpJBet4L/4mF03hs=; b=pzwPwkuMy1Je/cd3l+BI4MpR8ABi5i9AkkTD9glClPDVfgbwgetaRG4Zow/u/oNTJl 12VnMyqxjEgdFZqPc0rtWJyagzSYlBW/hlUbqtlXfEpl91RSoh61TrMlME1423V/9eZ+ aPOUpXzNrXHPyCKiIFa7TaMipueqsMaxMGroFFN4ZTZl6aVQyoYF+LMk5izcWytwH1jN laREiCQKw+ij2DMKCShwoOglGEP9rw+laLJY4HWWnvyyDh9paGusuxys6b0FarlNUcUe Y/UmOxGTvNr47BbITAWii4g/9G4+W0WQMdeJbl4MhS/vcy3S2eLd/vFMRXkPgTiZEU/A N5LQ== |
| X-Received | by 10.66.121.227 with SMTP id ln3mr15999963pab.165.1365183181561; Fri, 05 Apr 2013 10:33:01 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <590d71e1-5f78-475e-a5bc-8210694a7616@googlegroups.com> |
| References | <6ac24546-6cc6-4a01-9fa6-3b52d64484e3@googlegroups.com> <mailman.125.1365150463.3114.python-list@python.org> <590d71e1-5f78-475e-a5bc-8210694a7616@googlegroups.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Fri, 5 Apr 2013 11:32:21 -0600 |
| Subject | Re: JIT compilers for Python, what is the latest news? |
| To | Python <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 <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.151.1365183190.3114.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1365183190 news.xs4all.nl 6976 [2001:888:2000:d::a6]:50542 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:42841 |
Show key headers only | View raw
On Fri, Apr 5, 2013 at 2:39 AM, John Ladasky <john_ladasky@sbcglobal.net> wrote: >> 2) Rewrite some key portions in C, possibly using Cython (as MRAB suggested). > > And as I replied to MRAB, my limiting code is within Numpy. I've taken care to look for ways that I might have been using Numpy itself inefficiently (and I did find a problem once: fixing it tripled my execution speed). But I would like to think that Numpy itself, since it is already a C extension, should be optimal. That doesn't seem to follow from your original post. Because Numpy is a C extension, its performance would not be improved by psyco at all. The 20% performance increase that you reported must have been a result of the JIT compiling of some Python code, and if you can identify that and rewrite it in C, then you may be able to see the same sort of boost you had from psyco.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-04 19:29 -0700
Re: JIT compilers for Python, what is the latest news? MRAB <python@mrabarnett.plus.com> - 2013-04-05 03:39 +0100
Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:34 -0700
Re: JIT compilers for Python, what is the latest news? Devin Jeanpierre <jeanpierreda@gmail.com> - 2013-04-05 14:37 -0400
Re: JIT compilers for Python, what is the latest news? Joshua Landau <joshua.landau.ws@gmail.com> - 2013-04-06 11:23 +0100
Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:34 -0700
Re: JIT compilers for Python, what is the latest news? Chris Angelico <rosuav@gmail.com> - 2013-04-05 19:27 +1100
Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:39 -0700
Re: JIT compilers for Python, what is the latest news? Chris Angelico <rosuav@gmail.com> - 2013-04-05 19:49 +1100
Re: JIT compilers for Python, what is the latest news? Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 11:32 -0600
Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 11:13 -0700
Re: JIT compilers for Python, what is the latest news? Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-05 13:05 -0600
Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 11:13 -0700
Re: JIT compilers for Python, what is the latest news? Robert Kern <robert.kern@gmail.com> - 2013-04-05 10:46 +0100
Re: JIT compilers for Python, what is the latest news? John Ladasky <john_ladasky@sbcglobal.net> - 2013-04-05 01:39 -0700
Re: JIT compilers for Python, what is the latest news? ptb <petertbrady@gmail.com> - 2013-04-05 05:18 -0700
Re: JIT compilers for Python, what is the latest news? Ian Foote <ian@feete.org> - 2013-04-05 13:50 +0100
Re: JIT compilers for Python, what is the latest news? Joshua Landau <joshua.landau.ws@gmail.com> - 2013-04-06 11:27 +0100
Re: JIT compilers for Python, what is the latest news? rusi <rustompmody@gmail.com> - 2013-04-06 08:45 -0700
Re: JIT compilers for Python, what is the latest news? Stefan Behnel <stefan_ml@behnel.de> - 2013-04-06 21:41 +0200
csiph-web