Terry Reedy <tjreedy <at> udel.edu> writes: > > The idea that CPython should not be improved because it would spoil > programmers strikes me as a thin, even desparate objection. One could > say that same thing about the recent optimization of string += string so > that repeated concats are O(n) instead of O(n*n).
Note that it's not even generally true. It only works if your platform's realloc() is sufficiently smart. That's why we once have had some Windows-specific performance problems in the py3k IO module. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com