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 vstinner
Recipients arigo, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, tim.peters, vstinner
Date 2015-12-13.20:31:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450038676.06.0.914034176757.issue25823@psf.upfronthosting.co.za>
In-reply-to
Content
> I verified that Clang and GCC both give the expected disassembly with Serhiy's patch.   We ought to restrict the #if to just the compilers that are known to optimize away the memcpy.

Yes, it makes sense.

Note: Python already has Py_MEMCPY() to work around slow memcpy() for small copies with Visual Studio.
History
Date User Action Args
2015-12-13 20:31:16vstinnersetrecipients: + vstinner, tim.peters, arigo, rhettinger, mark.dickinson, pitrou, skrah, serhiy.storchaka
2015-12-13 20:31:16vstinnersetmessageid: <1450038676.06.0.914034176757.issue25823@psf.upfronthosting.co.za>
2015-12-13 20:31:16vstinnerlinkissue25823 messages
2015-12-13 20:31:15vstinnercreate