Python and STL efficiency

Fredrik Lundh fredrik at pythonware.com
Mon Aug 21 08:34:03 EDT 2006


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>




More information about the Python-list mailing list