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 vstinner
Recipients Josh Snider, python-dev, serhiy.storchaka, vstinner
Date 2016-03-21.10:39:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458556784.01.0.797520990643.issue26574@psf.upfronthosting.co.za>
In-reply-to
Content
> Is it worth to optimize this pretty rare special case?

There was a TODO in the code, so I guess that the author wanted to write specialized code for 1-char replacement. Since the patch is short (adds 8 lines of C code), I consider that it's ok to optimize it.
History
Date User Action Args
2016-03-21 10:39:44vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka, Josh Snider
2016-03-21 10:39:44vstinnersetmessageid: <1458556784.01.0.797520990643.issue26574@psf.upfronthosting.co.za>
2016-03-21 10:39:43vstinnerlinkissue26574 messages
2016-03-21 10:39:43vstinnercreate