Talin wrote: > (Another option is to simply make all strings UTF-32 -- which is not > that unreasonable, considering that text strings normally make up only a > small fraction of a program's memory footprint. I am sure that there are > applications that don't conform to this generalization, however. )
performance is more than just memory use, though. for some string operations, memory bandwidth is the bottleneck, not memory use. it simply takes more time to process four times as much data. (running the stringbench.py script in the sandbox on a recent 2.5 should give you some idea of this) </F> _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
