[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

Serhiy Storchaka report at bugs.python.org
Mon Sep 2 22:38:41 CEST 2013


Serhiy Storchaka added the comment:

No, it isn't faster. I tested this variant, it is 1.5x slower.

And simple range checking actually is slower.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12892>
_______________________________________


More information about the Python-bugs-list mailing list