Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82072
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2014-12-07 09:30 -0800 |
| References | <1417897739.89228.BPMail_high_carrier@web163806.mail.gq1.yahoo.com> <mailman.16660.1417946832.18130.python-list@python.org> |
| Message-ID | <fa083131-9878-40e7-b985-d2f4fa51a2aa@googlegroups.com> (permalink) |
| Subject | Re: jitpy - Library to embed PyPy into CPython |
| From | wxjmfauth@gmail.com |
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