Stefan Krah <ste...@bytereef.org> added the comment: MSVC optimizes memcpy() to an assignment, sometimes too well (pgo): https://bugs.python.org/issue15993
But that is fixed long ago, so I also think that the memcpy() approach is best. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28055> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com