Is there any way to minimize str()/unicode() objects memory usage [Python 2.6.4] ?
nyamatongwe+thunder at gmail.com
Sat Aug 7 04:18:35 CEST 2010
> What I'm really looking for is a dict() that maps short unicode
> strings into tuples with integers. But just having a *compact* list
> container for unicode strings would help a lot (because I could add a
> __dict__ and go from it).
Add them all into one string or array and use indexes into that string.
More information about the Python-list