[Python-Dev] [Argon] Re: 51 Million calls to _PyUnicodeUCS2_IsLinebreak() (???)
walter at livinglogic.de
Wed Aug 24 23:12:38 CEST 2005
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
>> Martin v. Löwis wrote:
>>> Correct. However, I very much doubt that this is the cause of the
>> 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.
More information about the Python-Dev