Skip to content

Embed structure members directly, rather than allocated separately. #40

Open
@rtheunissen

Description

@rtheunissen

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;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions