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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, lemburg, loewis, pitrou
Date 2009-01-08.13:11:20
SpamBayes Score 0.00953717
Marked as misclassified No
Message-id <1231420282.49.0.531733594931.issue4868@psf.upfronthosting.co.za>
In-reply-to
Content
Very nice! It seems that you can get slightly faster by not copying the
initial char first: 's' is often already aligned at the beginning of the
string, but not after the first copy... Attached patch
(utf8decode4.patch) changes this and may enter the fast loop on the
first character.

Does this idea apply to the encode function as well?
History
Date User Action Args
2009-01-08 13:11:22amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, loewis, pitrou
2009-01-08 13:11:22amaury.forgeotdarcsetmessageid: <1231420282.49.0.531733594931.issue4868@psf.upfronthosting.co.za>
2009-01-08 13:11:21amaury.forgeotdarclinkissue4868 messages
2009-01-08 13:11:21amaury.forgeotdarccreate