Skip to content

2 minor machine code bloat reductions in url.c #18379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged

Conversation

nielsdos
Copy link
Member

No description provided.

@nielsdos nielsdos changed the title 2 minor code bloat reductions in url.c 2 minor machine code bloat reductions in url.c Apr 21, 2025
This avoids the code bloat induced by zend_string_truncate().
This avoids an extra branch.
@nielsdos nielsdos marked this pull request as ready for review April 21, 2025 13:40
@nielsdos nielsdos requested a review from bukka as a code owner April 21, 2025 13:40
Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@nielsdos nielsdos merged commit 68794e0 into php:master Apr 22, 2025
9 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.

2 participants