[pypy-dev] Speeding up zlib in standard library
Peter Cock
p.j.a.cock at googlemail.com
Wed Mar 14 11:19:52 CET 2012
On Tue, Mar 13, 2012 at 9:51 PM, Benjamin Peterson <benjamin at python.org> wrote:
> 2012/3/12 Peter Cock <p.j.a.cock at googlemail.com>:
>> Given http://doc.pypy.org/en/latest/extending.html describes this
>> mixed module approach as the "most advanced and powerful way"
>> of calling C code, does that mean in this particular case there are
>> no low handing fruit to speed up using zlib in PyPy?
>
> Do you know the slowness comes from the binding overhead, though?
> It could be from buffering, for example.
I don't know - I was assuming any buffering would be the same
comparing PyPy 1.8 against Python 2.6 (and 3.2). That was one
reason for my email - is binding to C relatively slow (compared to
the rest of PyPy running pure Python)?
Is there any PyPy specific advice on profiling (and how this differs
to under 'C' Python)?
Thanks,
Peter
More information about the pypy-dev
mailing list