[Python-Dev] thoughts on the bytes/string discussion (original) (raw)

Stefan Behnel stefan_ml at behnel.de
Sat Jun 26 11:41:48 CEST 2010


Greg Ewing, 26.06.2010 09:58:

Tres Seaver wrote:

I do know for a fact that using a UCS2-compiled Python instead of the system's UCS4-compiled Python leads to measurable, noticable drop in memory consumption of long-running webserver processes using Unicode Would there be any sanity in having an option to compile Python with UTF-8 as the internal string representation?

It would break Py_UNICODE, because the internal size of a unicode character would no longer be fixed.

Stefan



More information about the Python-Dev mailing list