ext-ds
ext-ds copied to clipboard
Embed structure members directly, rather than allocated separately.
This reduces the number of allocations and indirection.
Instead of
typedef struct _php_ds_map_t {
zend_object std;
ds_map_t *map;
} php_ds_map_t;
use
typedef struct _php_ds_map_t {
zend_object std;
ds_map_t map;
} php_ds_map_t;