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 David.Edelsohn, christian.heimes, dmalcolm, python-dev, serhiy.storchaka, vstinner, zaytsev
Date 2014-01-07.18:08:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389118084.02.0.999745295132.issue20162@psf.upfronthosting.co.za>
In-reply-to
Content
On platforms where unaligned access is not an issue, gcc produces for memcpy() an optimal binary code equivalent to simple assignment of 32-bit value. Only MSVC produces slow code, but Windows works only on platforms where unaligned access is not an issue. So we can use simple assignment when _MSC_VER is defined and memcpy() in other cases (it is what I was proposed in issue19183 for PY_UHASH_CPY).
History
Date User Action Args
2014-01-07 18:08:04serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, christian.heimes, dmalcolm, python-dev, David.Edelsohn, zaytsev
2014-01-07 18:08:04serhiy.storchakasetmessageid: <1389118084.02.0.999745295132.issue20162@psf.upfronthosting.co.za>
2014-01-07 18:08:04serhiy.storchakalinkissue20162 messages
2014-01-07 18:08:03serhiy.storchakacreate