dw <[email protected]> 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 <[email protected]>
<https://bugs.pypy.org/issue1741>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to