Serhiy Storchaka added the comment: Here is a patch that restores optimization of bytes.rfind() and bytearray.rfind() with 1-byte argument on Linux (it also reverts bc1a178b3bc8).
---------- nosy: +christian.heimes resolution: fixed -> stage: resolved -> patch review Added file: http://bugs.python.org/file39944/issue23573_bytes_rfind_memrchr.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23573> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com