Fredrik Lundh wrote:
> 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 ?

Ah, yes what was I thinking? The fact that it stores std::string
objects escaped my mind somehow. /GF just pools the string literals.
Thanks for the correction.

> 
> </F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to