Message207575
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). |
|
Date |
User |
Action |
Args |
2014-01-07 18:08:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, christian.heimes, dmalcolm, python-dev, David.Edelsohn, zaytsev |
2014-01-07 18:08:04 | serhiy.storchaka | set | messageid: <1389118084.02.0.999745295132.issue20162@psf.upfronthosting.co.za> |
2014-01-07 18:08:04 | serhiy.storchaka | link | issue20162 messages |
2014-01-07 18:08:03 | serhiy.storchaka | create | |
|