[pypy-issue] [issue1741] SRE_Pattern.search() of buffer object produces copy

dw tracker at bugs.pypy.org
Tue Apr 22 19:52:55 CEST 2014


dw <dw at botanicus.net> added the comment:

Per IRC chat, the bug is not with regexes, but relying on a CPython-specific
ability to zero-copy search over a buffer. The behaviour in this bug is due to
repeatedly copying a 1.8gb mailbox to a string.

----------
status: unread -> chatting
title: SRE_Pattern.search() of simple pattern causes crazy slowdown -> SRE_Pattern.search() of buffer object produces copy

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


More information about the pypy-issue mailing list