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.025 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:Python': 0.06; '64-bit': 0.07; 'pypy': 0.07; '32-bit': 0.09; 'executed': 0.09; 'obsolete': 0.09; 'python': 0.11; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'written': 0.21; 'header:User-Agent:1': 0.23; 'initial': 0.24; "haven't": 0.24; 'header:In-Reply-To:1': 0.27; 'appear': 0.29; "doesn't": 0.30; 'said,': 0.30; "i'm": 0.30; 'code': 0.31; '20%': 0.31; 'routine': 0.31; 'subject:what': 0.31; 'run': 0.32; 'quite': 0.32; 'guess': 0.33; 'older': 0.33; 'subject:the': 0.34; 'received:84': 0.35; 'but': 0.35; 'revert': 0.36; 'ubuntu': 0.36; 'subject:?': 0.36; 'project': 0.37; 'performance': 0.37; 'being': 0.38; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'year.': 0.61; 'john': 0.61; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'increase': 0.74; 'occupied': 0.84; 'reply- to:addr:python.org': 0.84; 'subject:latest': 0.84; 'touched': 0.84; 'execution,': 0.91; 'same,': 0.91 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=ZarDwLpA c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=QUiRZEtCktgA:10 a=oCuRpbx0hGYA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=a2ytXfNaI1IA:10 a=PO54ZXzg0NFiR2jPTUkA:9 a=wPNLvfGTeEIA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 X-AUTH: mrabarnett:2500 Date: Fri, 05 Apr 2013 03:39:16 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: python-list@python.org Subject: Re: JIT compilers for Python, what is the latest news? References: <6ac24546-6cc6-4a01-9fa6-3b52d64484e3@googlegroups.com> In-Reply-To: <6ac24546-6cc6-4a01-9fa6-3b52d64484e3@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365129540 news.xs4all.nl 6866 [2001:888:2000:d::a6]:32770 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42789 On 05/04/2013 03:29, John Ladasky 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... > Have you looked at Cython? Not quite the same, but still...