Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42906
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joshua.landau.ws@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.028 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; '64-bit': 0.07; 'pypy': 0.07; '32-bit': 0.09; 'executed': 0.09; 'obsolete': 0.09; 'url:github': 0.09; 'url:blog': 0.10; 'cc:addr :python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'wrote:': 0.18; 'written': 0.21; 'cc:addr:python.org': 0.22; 'fine': 0.24; 'initial': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'appear': 0.29; "doesn't": 0.30; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '20%': 0.31; 'really,': 0.31; 'routine': 0.31; 'subject:what': 0.31; 'though.': 0.31; 'run': 0.32; 'guess': 0.33; 'older': 0.33; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'revert': 0.36; 'ubuntu': 0.36; 'subject:?': 0.36; 'project': 0.37; 'performance': 0.37; 'being': 0.38; 'sometimes': 0.38; 'depends': 0.38; 'rather': 0.38; 'heard': 0.39; 'url:2012': 0.39; '8bit%:6': 0.40; 'how': 0.40; 'even': 0.60; 'most': 0.60; 'year.': 0.61; 'john': 0.61; "you're": 0.61; 'back': 0.62; 'increase': 0.74; 'gain': 0.79; 'occupied': 0.84; 'subject:latest': 0.84; 'touched': 0.84; 'execution,': 0.91; '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:cc:content-type; bh=IebyPEeS7g8WZX3uJwM+CCvlZc64RVQDbLMjaMlG8QI=; b=XxD2swS37vs2HNMpb3I4rSInBQTa+kr01jeKorAvdYHIjz5s8QYfmcOz4r9wnNerPc /lCbwbWSKOR5OQpGSc0yTeb93ana1Bs46keVzFJkh5ndqpxPrlj2musmhpLtsrscA5Ed lZGIVrTFCUi13Vc9YT2WxnJt3ocd/TO+Y5b/xEx6pxpBdDNB5gYrlNV3eHoHF1T49MYf Jv3IKyepDu1wayoJuGjwS0klJbdXipF7sjS02zNxftjMXlLiaDJLrmZeHagZ+9CYxQEw MzM0/Luvm3dkqK87j+xbi0YBmgg+BDNMU0fouWxICrqkGN4e2CcbavcFLcd+5FN/cPlp MdKA== |
| X-Received | by 10.112.125.232 with SMTP id mt8mr7951345lbb.110.1365244095208; Sat, 06 Apr 2013 03:28:15 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <6ac24546-6cc6-4a01-9fa6-3b52d64484e3@googlegroups.com> |
| References | <6ac24546-6cc6-4a01-9fa6-3b52d64484e3@googlegroups.com> |
| From | Joshua Landau <joshua.landau.ws@gmail.com> |
| Date | Sat, 6 Apr 2013 11:27:34 +0100 |
| Subject | Re: JIT compilers for Python, what is the latest news? |
| To | John Ladasky <john_ladasky@sbcglobal.net> |
| Content-Type | multipart/alternative; boundary=089e01160d6053a4bc04d9aea98c |
| Cc | python-list <python-list@python.org> |
| 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.199.1365244103.3114.python-list@python.org> (permalink) |
| Lines | 76 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1365244103 news.xs4all.nl 6893 [2001:888:2000:d::a6]:40761 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:42906 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 5 April 2013 03:29, John Ladasky <john_ladasky@sbcglobal.net> wrote: > I'm revisiting a project that I haven't touched in over a year. It was > written in Python 2.6, and executed on 32-bit Ubuntu 10.10. I experienced > a 20% performance increase when I used Psyco, because I had a > computationally-intensive routine which occupied most of my CPU cycles, and > always received the same data type. (Multiprocessing also helped, and I > was using that too.) > > I have now migrated to a 64-bit Ubuntu 12.10.1, and Python 3.3. I would > rather not revert to my older configuration. That being said, it would > appear from my initial reading that 1) Psyco is considered obsolete and is > no longer maintained, 2) Psyco is being superseded by PyPy, 3) PyPy doesn't > support Python 3.x, or 64-bit optimizations. > > Do I understand all that correctly? > > I guess I can live with the 20% slower execution, but sometimes my code > would run for three solid days... > If you're not willing to go far, I've heard really, really good things about Numba. I've not used it, but seriously: http://jakevdp.github.io/blog/2012/08/24/numba-vs-cython/. Also, PyPy is fine for 64 bit, even if it doesn't gain much from it. So going back to 2.7 might give you that 20% back for almost free. It depends how complex the code is, though.
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