[php-src] Issue #12872: Align _zend_array struct with 64 bytes?
| From: | PeterYang12 | Date: | Tue, 05 Dec 2023 10:16:31 +0000 |
| Subject: | [php-src] Issue #12872: Align _zend_array struct with 64 bytes? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245985@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12872
Author: PeterYang12
### Description
https://github.com/php/php-src/blob/8cc6b3576e93f3d30ad52640ed74256734a9e6d8/Zend/zend_types.h#L388
The _zend_array struct occupies 56 bytes. Should we align it with 64 bytes? This alignment might
offer greater cache line optimization and potentially enhance performance.
### PHP Version
master
### Operating System
_No response_