]> granicus.if.org Git - php/commitdiff
Reduce struct size by 8 bytes on 64-bit
authorAnatol Belski <ab@php.net>
Mon, 19 Feb 2018 11:01:54 +0000 (12:01 +0100)
committerAnatol Belski <ab@php.net>
Mon, 19 Feb 2018 13:02:30 +0000 (14:02 +0100)
ext/opcache/zend_accelerator_hash.h

index 28c663db7c79db0cfe4edb26c748c26d45b1870b..3f14bc518e2d46ed10c4df14fe082fa5a9cb5aa6 100644 (file)
@@ -47,9 +47,9 @@ typedef struct _zend_accel_hash_entry zend_accel_hash_entry;
 struct _zend_accel_hash_entry {
        zend_ulong             hash_value;
        const char            *key;
-       uint32_t              key_length;
        zend_accel_hash_entry *next;
        void                  *data;
+       uint32_t               key_length;
        zend_bool              indirect;
 };