STINNER Victor added the comment: Here is a first patch. It is written to keep best performances for valid UTF-8 encoded string, but speedup strings with a few undecodable bytes.
---------- keywords: +patch Added file: http://bugs.python.org/file40663/utf8_decoder.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25301> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com