Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82048 > unrolled thread
| Started by | Stefan Behnel <stefan_ml@behnel.de> |
|---|---|
| First post | 2014-12-07 11:06 +0100 |
| Last post | 2014-12-07 09:30 -0800 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Stefan Behnel <stefan_ml@behnel.de> |
|---|---|
| Date | 2014-12-07 11:06 +0100 |
| Subject | Re: jitpy - Library to embed PyPy into CPython |
| Message-ID | <mailman.16660.1417946832.18130.python-list@python.org> |
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
[toc] | [next] | [standalone]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2014-12-07 09:30 -0800 |
| Message-ID | <fa083131-9878-40e7-b985-d2f4fa51a2aa@googlegroups.com> |
| In reply to | #82048 |
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]
>>>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web