[Zope3-dev] Space usage of unicode strings in the ZODB

Stephan Richter srichter@cbu.edu
Thu, 14 Feb 2002 12:35:02 -0600


At 12:13 PM 2/14/2002 -0500, Andreas Jung wrote:
>Unicode strings:
>internal UCS-2 encoding         5.4 MB
>internal UCS-4 encoding         5.4 MB
>
>
>I am astonished that unicode strings require the same space -
>independant from their internal storage in Python (2 vs. 4 bytes).

Could this be because py_malloc allocates in 64 bit chunks?

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management