Joining strings versus augmented assignment

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Wed Feb 5 05:10:34 CET 2003


> From: holger krekel [mailto:pyth at devel.trillke.net]
> 
> Delaney, Timothy C (Timothy) wrote:
> > > From: Bengt Richter [mailto:bokr at oz.net]
> > >
> > > IMO we need to keep in mind that the language is not defined 
> > > by accidental
> > > details of implementation, and try to avoid leading people 
> > > into believing
> > > that bad peformance for certain operations is necessarily 
> > > cast in concrete.
> > 
> > Indeed. If you are using Psyco for example, string 
> concatenation is converted into a list join whereever possible.
> 
> ASFAIK this is the case with the upcoming 1.0 version but not with the
> current 0.4.1, right? 

http://psyco.sourceforge.net/bugs.html#automatic-optimizations

Tim Delaney





More information about the Python-list mailing list