[pypy-issue] [issue1319] PyPy 1000x slower than CPython for set.difference_update

Alex Gaynor tracker at bugs.pypy.org
Mon Nov 12 03:44:12 CET 2012


Alex Gaynor <alex.gaynor at gmail.com> added the comment:

I'm not sure if this is the cause of the slowdown, but as far as I can tell 
difference_update allocates a new set object internally, even though that's not 
necessary.

In retrospect I'm 99% sure that's the cause :(

----------
nosy: +agaynor
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1319>
________________________________________


More information about the pypy-issue mailing list