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 pitrou, serhiy.storchaka, vstinner
Date 2012-03-27.21:36:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As you can see, the unpatched code does not depend on the alignment. With patches aligned data (which constitute the vast majority, if not all) decoded much faster and non-aligned data decoded sometimes slightly slower. Time of decoding 2-10-bytes practically does not depend on the string length, most of the time (0.1 ms) occupy the overhead of function calls and objects creation and destruction. But even in this case, the patches show a steady increase in performance. When the overhead costs are reduced advantage becomes stronger. For short strings the second patch is better the first patch, as expected.
Date User Action Args
2012-03-27 21:36:24serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner
2012-03-27 21:36:24serhiy.storchakasetmessageid: <>
2012-03-27 21:36:24serhiy.storchakalinkissue14419 messages
2012-03-27 21:36:23serhiy.storchakacreate