[issue19219] speed up marshal.loads()
Antoine Pitrou
report at bugs.python.org
Fri Oct 11 16:32:26 CEST 2013
Antoine Pitrou added the comment:
> > That said, I'll try out the patch with _PyUnicode_FromUCS1 instead
> > of _PyUnicode_FromASCII, to see if it affects performance.
>
> Could you try out the patch with PyUnicode_DecodeUTF8()? This will
> save you two opcodes and perhaps several lines of code.
That would be a change in behaviour, since currently "surrogatepass"
is the error handler.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19219>
_______________________________________
More information about the Python-bugs-list
mailing list