Skip to content

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Sep 18, 2024

We can use memcmp() directly and skip some of the logic handling in zend_binary_strcmp(). perf record shows a reduction for dom_html5_serializes_as_void() from 3.12% to 0.77% for parsing my GitHub FYP.

We can use `memcmp()` directly and skip some of the logic handling
in `zend_binary_strcmp()`. `perf record` shows a reduction for
`dom_html5_serializes_as_void()` from 3.12% to 0.77%.
@nielsdos nielsdos merged commit 7e6e712 into php:master Sep 20, 2024
8 of 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.

1 participant