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, jcea, loewis, pitrou, serhiy.storchaka, vstinner
Date 2012-04-24.17:46:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335289716.2400.169.camel@raxxla>
In-reply-to <1335215047.86.0.0172027590975.issue14654@psf.upfronthosting.co.za>
Content
Here are two new patches. The first one takes into account the Martin
wishes about comments. The second also rejects optimization for ASCII.

On the Intel Atom last patch annihilates acceleration for some cases
(mostly-ascii with UCS2 data):

                                          vanilla     patch1      patch3

utf-8         'A'*9999+'\u0100'           124 (+8%)   288 (-53%)  134
utf-8         'A'*9999+'\u8000'           124 (+8%)   291 (-54%)  134
utf-8       '\u0100'+'A'*9999             78 (+5%)    123 (-33%)  82
utf-8       '\u8000'+'A'*9999             78 (+5%)    124 (-34%)  82

On the AMD Athlon there is no noticeable effect.
Files
File name Uploaded
decode_utf8_2.patch serhiy.storchaka, 2012-04-24.17:46:15
decode_utf8_3.patch serhiy.storchaka, 2012-04-24.17:46:15
History
Date User Action Args
2012-04-24 17:46:16serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, jcea, pitrou, vstinner, Arfrever
2012-04-24 17:46:16serhiy.storchakalinkissue14654 messages
2012-04-24 17:46:15serhiy.storchakacreate