Message256151
> I think following patch doesn't introduce undefined behavior.
Agreed. As I recall, the memcpy trick is a fairly standard way around this issue, for compilers that are smart enough to compile away the actual memcpy call.
> I don't know wherever the patch can cause performance regression on other platforms or compilers.
Me neither. |
|
Date |
User |
Action |
Args |
2015-12-09 10:11:52 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, rhettinger, vstinner, skrah, serhiy.storchaka |
2015-12-09 10:11:52 | mark.dickinson | set | messageid: <1449655912.79.0.945508423371.issue25823@psf.upfronthosting.co.za> |
2015-12-09 10:11:52 | mark.dickinson | link | issue25823 messages |
2015-12-09 10:11:52 | mark.dickinson | create | |
|