Message239386
The union trick is not portable, using memcpy() is safer. Compilers should be able to optimize it. Use Py_MEMCPY() for the stupid Visual Studio compiler unable to optimize memcpy() for small sizes. |
|
Date |
User |
Action |
Args |
2015-03-27 10:40:36 | vstinner | set | recipients:
+ vstinner, jcea, mark.dickinson, christian.heimes, serhiy.storchaka, petriborg |
2015-03-27 10:40:36 | vstinner | set | messageid: <1427452836.64.0.0170897182166.issue23786@psf.upfronthosting.co.za> |
2015-03-27 10:40:36 | vstinner | link | issue23786 messages |
2015-03-27 10:40:36 | vstinner | create | |
|