Skip to content

Conversation

nielsdos
Copy link
Member

Many tag names are single characters, so we can use the fast string construction. In cases where a NULL name is used we can also use the empty string.
This optimization avoids some allocations and some work.

Many tag names are single characters, so we can use the fast string
construction. In cases where a NULL name is used we can also use the
empty string.
This avoids some allocations and some work.
@nielsdos nielsdos merged commit f2aaea0 into php:master Sep 30, 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