This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author schmir
Recipients effbot, joshhoyt, loewis, schmir
Date 2007-11-02.22:04:28
SpamBayes Score 0.48567212
Marked as misclassified No
Message-id <1194041069.02.0.586963197716.issue846388@psf.upfronthosting.co.za>
In-reply-to
Content
hm. just noticed that calling PyErr_CheckSignals slows down regular
expression matching considerably (50%).

I'm adding another patch, which only checks every 4096th iteration for
signals.
Files
File name Uploaded
patch.speedup schmir, 2007-11-02.22:04:28
History
Date User Action Args
2007-11-02 22:04:29schmirsetspambayes_score: 0.485672 -> 0.48567212
recipients: + schmir, loewis, effbot, joshhoyt
2007-11-02 22:04:29schmirsetspambayes_score: 0.485672 -> 0.485672
messageid: <1194041069.02.0.586963197716.issue846388@psf.upfronthosting.co.za>
2007-11-02 22:04:29schmirlinkissue846388 messages
2007-11-02 22:04:28schmircreate