python-dev Summary for 2004-08-01 through 2004-08-15

Anthony Baxter anthonybaxter at gmail.com
Tue Aug 24 10:06:41 EDT 2004


On Tue, 24 Aug 2004 09:59:20 -0400, Istvan Albert
<ialbert at mailblocks.com> wrote:
> Brett Cannon wrote:
> 
> > Armin Rigo came up with a way to have string concatenation in a loop
> > (think ``for thing in iter_of_strings: concat_str += thing``) not be a
> > quadratic algorithm
> 
> > But Guido didn't like the patch.
> 
> Sometimes I just don't get it.
> 
> Here is a patch that removes one of the warts of python, does not introduce
> any new behavior, makes python behave as it should have had in the first place,
> yet it gets shot down on the grounds that it is 'too much of an improvement'
> and that other python implementations might not be able to keep up
> with it...

Er. Did you _read_ the rest of the section you quoted?

"""In the end, though, this went in with a warning that the speed
performance is not portable.  It is not to be used in the stdlib ever.""""



More information about the Python-list mailing list