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 barry, christian.heimes, kristjan.jonsson, pitrou, ronaldoussoren, serhiy.storchaka, vstinner
Date 2013-10-11.14:05:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381500305.43.0.543220526724.issue19219@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't understand how _PyUnicode_UTF8() can be used for *unmarshalling*.

I say about marshalling.

> That said, I'll try out the patch with _PyUnicode_FromUCS1 instead of _PyUnicode_FromASCII, to see if it affects performance.

Could you try out the patch with PyUnicode_DecodeUTF8()? This will save you two opcodes and perhaps several lines of code.
History
Date User Action Args
2013-10-11 14:05:05serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ronaldoussoren, pitrou, kristjan.jonsson, vstinner, christian.heimes
2013-10-11 14:05:05serhiy.storchakasetmessageid: <1381500305.43.0.543220526724.issue19219@psf.upfronthosting.co.za>
2013-10-11 14:05:05serhiy.storchakalinkissue19219 messages
2013-10-11 14:05:05serhiy.storchakacreate