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 arigo
Recipients arigo, mark.dickinson, rhettinger, serhiy.storchaka, skrah, tim.peters, vstinner
Date 2015-12-12.09:53:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Fwiw, I made a trivial benchmark in C that loads aligned and misaligned shorts ( ).  It shows that the memcpy() version takes only 65% of the time taken by the two-bytes-loaded version on a 2010 laptop.  It takes 75% of the time on a modern server.  On a recent little-endian PowerPC machine, 96%.  On aarch64, only 45% faster (i.e. more than twice faster).  This is all with gcc.  It seems that using memcpy() is definitely a win nowadays.
Date User Action Args
2015-12-12 09:53:21arigosetrecipients: + arigo, tim.peters, rhettinger, mark.dickinson, vstinner, skrah, serhiy.storchaka
2015-12-12 09:53:21arigosetmessageid: <>
2015-12-12 09:53:21arigolinkissue25823 messages
2015-12-12 09:53:20arigocreate