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 ncoghlan
Recipients christian.heimes, ezio.melotti, methane, mpaolini, ncoghlan, pablogsal, rhettinger, serhiy.storchaka, steve.dower
Date 2019-07-30.14:22:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564496549.91.0.915760348035.issue37587@roundup.psfhosted.org>
In-reply-to
Content
I went ahead and merged the minimal PR and flagged it for backporting to 3.8 - it's an obviously beneficial change, that clearly does less work on each pass through the loop.

Even if you are doing non-strict parsing of a string that consists entirely of invalid characters, you'll get the same level of performance that the previous code offered for all strict parsing.
History
Date User Action Args
2019-07-30 14:22:29ncoghlansetrecipients: + ncoghlan, rhettinger, christian.heimes, ezio.melotti, methane, serhiy.storchaka, steve.dower, mpaolini, pablogsal
2019-07-30 14:22:29ncoghlansetmessageid: <1564496549.91.0.915760348035.issue37587@roundup.psfhosted.org>
2019-07-30 14:22:29ncoghlanlinkissue37587 messages
2019-07-30 14:22:29ncoghlancreate