Browse Source

Improve data layout (reduce the op_array structure size on 64-bit systems)

pull/1392/head
Dmitry Stogov 11 years ago
parent
commit
3df462a2bc
  1. 7
      Zend/zend_compile.h

7
Zend/zend_compile.h

@ -359,7 +359,9 @@ struct _zend_op_array {
zend_string **vars;
uint32_t *T_liveliness;
//TODO: improve layout ???
void **run_time_cache;
int cache_size;
int last_try_catch;
zend_try_catch_element *try_catch_array;
@ -375,9 +377,6 @@ struct _zend_op_array {
int last_literal;
zval *literals;
int cache_size;
void **run_time_cache;
void *reserved[ZEND_MAX_RESERVED_RESOURCES];
};

Loading…
Cancel
Save