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 benjamin.peterson, pitrou, serhiy.storchaka, skrah, vstinner
Date 2012-03-20.13:50:19
SpamBayes Score 0.00016488734
Marked as misclassified No
Message-id <1332251424.74.0.552800434522.issue14249@psf.upfronthosting.co.za>
In-reply-to
Content
What if add more hacking? If long integer already used for buffering and checking, let use it for swapping and splitting too.

With my patch (attached) codecs.utf_16_be_decode runs 5% faster (on 32-bit Linux, I was not tested 64-bit). And of cause no pointers -- no aliasing warnings.
History
Date User Action Args
2012-03-20 13:50:24serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, benjamin.peterson, skrah
2012-03-20 13:50:24serhiy.storchakasetmessageid: <1332251424.74.0.552800434522.issue14249@psf.upfronthosting.co.za>
2012-03-20 13:50:20serhiy.storchakalinkissue14249 messages
2012-03-20 13:50:19serhiy.storchakacreate