[issue1943] improved allocation of PyUnicode objects

Antoine Pitrou report at bugs.python.org
Sun Jan 10 23:52:26 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> I find that the null termination for 8-bit strings makes low-level
> parsing operations (e.g., parsing a numeric string) safer and easier:

Not to mention faster. The new IO library makes use of it (for newline
detection), on both bytestrings and unicode strings.

----------

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


More information about the Python-bugs-list mailing list