> > Walter Dörwald wrote: > >>At least it would remove the quadratic number of calls to > >>_PyUnicodeUCS2_IsLinebreak(). For each character it would be called only > >>once.
> Martin v. Löwis wrote: > > Correct. However, I very much doubt that this is the cause of the > > slowdown. > Walter Dörwald wrote: > Probably. We'd need a test with the original Argon source to really know. We can do that. > OK, so should we add this for 2.4.2 or only for 2.5? 2.4.2 please ;-) Thanks, Greg _______________________________________________ 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