[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: I've applied the patch to the trunk in r60440. It will be merged into 3.0 soonish. Thanks for your work Keep it going! :) -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Ok, thanks. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: > Please make those stables static... > > In general, everything that's not needed outside an object file should > be made static to avoid naming conflicts. For static symbols, there's no > need to prefix them with any "Py" indicator. The ascii whitespace ta

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Please make those stables static... In general, everything that's not needed outside an object file should be made static to avoid naming conflicts. For static symbols, there's no need to prefix them with any "Py" indicator. ___

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file9326/trunk_unispace.patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: Sorry, this patch doesn't contain my current work. Added file: http://bugs.python.org/file9327/trunk_unispace.patch __ Tracker <[EMAIL PROTECTED]> __ __

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: I agree! The new patch applies cleanly to the trunk. I've fixed some white spaces and renamed the tables to _Py_ascii_ Added file: http://bugs.python.org/file9326/trunk_unispace.patch __ Tracker <[EMAIL PROTECTED]>

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: This should also be backported to Py2.6. -- versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ ___ Py

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Nice patch ! -- nosy: +lemburg __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubs

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: Sounds interesting and good! -- keywords: +patch nosy: +tiran priority: -> normal type: -> rfe __ Tracker <[EMAIL PROTECTED]> __ _

[issue1970] Speedup unicode whitespace and linebreak detection

2008-01-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: Currently the PyUnicode type uses a function call and several lookups per character to detect whitespace and linebreaks. This slows down considerably the split(), rsplit() and splitlines() methods. Since the overwhelming majority of whitespace and linebreaks ar