[Python-Dev] peps: Add memory consumption table. (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sun Aug 28 21:07:54 CEST 2011


On Sun, 28 Aug 2011 20:13:11 +0200 martin.v.loewis <python-checkins at python.org> wrote:

+Performance +----------- + +Performance of this patch must be considered for both memory +consumption and runtime efficiency. For memory consumption, the +expectation is that applications that have many large strings will see +a reduction in memory usage. For small strings, the effects depend on +the pointer size of the system, and the size of the PyUNICODE/wchart +type. The following table demonstrates this for various small string +sizes and platforms.

The table is for ASCII-only strings, right? Perhaps that should be mentioned somewhere.

Regards

Antoine.



More information about the Python-Dev mailing list