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 serhiy.storchaka
Recipients Arfrever, asvetlov, ezio.melotti, loewis, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2012-05-15.21:29:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337117514.7941.58.camel@raxxla>
In-reply-to <1337033689.62.0.565019708309.issue14624@psf.upfronthosting.co.za>
Content
Here are two new patch. Checking for characters out-of-range moved,
making the code simpler. Theoretically it is a bit slow down decoding of
short UCS1 strings (up to 1 and 3 chars on 32- and 64-bit), but
practically there is no difference. The second patch is different from
the first patch that masks are not calculated and specified explicitly.
I am not sure that it improves readability. The commiter has the choice.
Files
File name Uploaded
decode_utf16_5.patch serhiy.storchaka, 2012-05-15.21:29:27
decode_utf16_6.patch serhiy.storchaka, 2012-05-15.21:29:28
History
Date User Action Args
2012-05-15 21:29:29serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, vstinner, ezio.melotti, Arfrever, asvetlov, python-dev
2012-05-15 21:29:28serhiy.storchakalinkissue14624 messages
2012-05-15 21:29:28serhiy.storchakacreate