Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82072
| X-Received | by 10.236.63.164 with SMTP id a24mr24955971yhd.41.1417973422346; Sun, 07 Dec 2014 09:30:22 -0800 (PST) |
|---|---|
| X-Received | by 10.140.92.176 with SMTP id b45mr4205qge.10.1417973422329; Sun, 07 Dec 2014 09:30:22 -0800 (PST) |
| Path | csiph.com!usenet.pasdenom.info!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!s7no4785351qap.1!news-out.google.com!r1ni15qat.1!nntp.google.com!s7no4785350qap.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sun, 7 Dec 2014 09:30:22 -0800 (PST) |
| In-Reply-To | <mailman.16660.1417946832.18130.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:c3c5:8370:9db3:ff1f:d9e:7b4a; posting-account=ung4FAoAAAC46zhHJ0Nsnuox7M5gDvs_ |
| NNTP-Posting-Host | 2a02:120b:c3c5:8370:9db3:ff1f:d9e:7b4a |
| References | <1417897739.89228.BPMail_high_carrier@web163806.mail.gq1.yahoo.com> <mailman.16660.1417946832.18130.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <fa083131-9878-40e7-b985-d2f4fa51a2aa@googlegroups.com> (permalink) |
| Subject | Re: jitpy - Library to embed PyPy into CPython |
| From | wxjmfauth@gmail.com |
| Injection-Date | Sun, 07 Dec 2014 17:30:22 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Lines | 38 |
| X-Received-Bytes | 2663 |
| X-Received-Body-CRC | 638584178 |
| Xref | csiph.com comp.lang.python:82072 |
Show key headers only | View raw
Le dimanche 7 décembre 2014 11:07:26 UTC+1, Stefan Behnel a écrit :
> Albert-Jan Roskam schrieb am 06.12.2014 um 21:28:
> > On Fri, Dec 5, 2014 8:54 PM CET Mark Lawrence wrote:
> >> For those who haven't heard thought this might be of interest
> >> https://github.com/fijal/jitpy
> >
> > Interesting, but it is not clear to me when you would use jitpy instead
> > of pypy.
>
> I think this is trying to position PyPy more in the same corner as other
> JIT compilers for CPython, as opposed to keeping it a completely separate
> thing which suffers from being "not CPython". It's a huge dependency, but
> so are others.
>
> Being able to choose tools at this level is great, so if PyPy becomes yet
> another way to speed up the critical 5% of a CPython application, that's a
> good thing.
>
> Stefan
You are not even measuring the level of hypocrisis
in your statement.
A smooth example:
>>> # py3.2
>>> timeit.repeat("(('abc'*1000) + '\u20ac')[:-1]")
[2.2924487840381302, 2.288211457519807, 2.288552523117434]
>>>
>>> # Py3.3
>>> timeit.repeat("(('abc'*1000) + 'z')[:-1]")
[1.3677762326114475, 1.3570779579071655, 1.3561134433014104]
>>> timeit.repeat("(('abc'*1000) + '\u20ac')[:-1]")
[5.29018459683175, 5.267395034699291, 5.262552375821201]
>>>
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: jitpy - Library to embed PyPy into CPython Stefan Behnel <stefan_ml@behnel.de> - 2014-12-07 11:06 +0100 Re: jitpy - Library to embed PyPy into CPython wxjmfauth@gmail.com - 2014-12-07 09:30 -0800
csiph-web