ext-ds icon indicating copy to clipboard operation
ext-ds copied to clipboard

Embed structure members directly, rather than allocated separately.

Open rtheunissen opened this issue 9 years ago • 0 comments

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;

rtheunissen avatar Aug 30 '16 05:08 rtheunissen