Ray wrote: >> in the C++ example, you're creating 40000 string objects. > > In which case, Licheng, you should try using the /GF switch. This will > tell Microsoft C++ compiler to pool identical string literals together.
in what way does that change the implementation of C++'s string type ? </F> -- http://mail.python.org/mailman/listinfo/python-list