Skip to content

Conversation

@ndossche
Copy link
Member

@ndossche ndossche commented Nov 9, 2025

See individual commits.

@ndossche ndossche marked this pull request as ready for review November 9, 2025 14:18
}

ZVAL_COPY(&c.value, val);
zval_ptr_dtor(&val_free);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it more code size decrease and/or little perf gain ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just getting rid of confusing code

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yes this also makes a tiny code size decrease (but that was not the motivation). Perf is likely unchanged.

@ndossche ndossche merged commit 0d3f9ce into php:master Nov 9, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants