Joost Cassee wrote:

> Thanks for all the great info. Usually articles refer ''.join(...) as
> the fastest concat operation, but it won't do type coersion of course.
> I was interested whether there was a Django standard for this sort of
> thing. In any case the '+' operator is discouraged by all.

that's outdated information -- recent Python versions (2.4 and later) 
can do "+" and "+=" in place in many cases.  join is still preferred if 
you have lots of string fragments, but using it for 2-3 pieces is 
usually pointless.

</F>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to