[Python-Dev] Nuking wstr [Re: How can we use 48bit pointer safely?]
> Of course, the question is whether all this matters. Is it important
> to save 8 bytes on each unicode object? Only testing would tell.
Last year, I tried to profile memory usage of web application in my company.
Without -OO option, str is the most memory eater and average size is
(Note: SQLAlchemy uses docstring very heavily).
With -OO option, str is the third memory eater, and average size was
So I think 8bytes for each string object is not negligible.
But, of course, it's vary according to applications and libraries.
INADA Naoki <songofacandy at gmail.com>