Message264254
| Author |
vstinner |
| Recipients |
Demur Rumed, arigo, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, tim.peters, vstinner |
| Date |
2016年04月26日.11:42:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461670931.94.0.407258218033.issue25823@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I dislike the usage of union to use fetch 16-bit but only in little endian. I would prefer to modify the PyCodeObject to ensure that co_code is aligned to 16-bit and use an uint16_t* pointer in ceval.c. It would be simpler no? In the worst case, we should overallocate 1 null byte in PyCodeObject to align bytecode to 16-bit. |
|