Am 24.08.2005 um 20:20 schrieb Greg Wilson:
>>> 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.
So, can you try Martin's patch?
>> OK, so should we add this for 2.4.2 or only for 2.5?
>
> 2.4.2 please ;-)
If we use the patch as is, I think it can go into 2.4.2.
Bye,
Walter Dörwald
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com