Message256338
| 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. |
|