Skip to content

refactor: cgi strings#2188

Draft
AlliBalliBaba wants to merge 16 commits intomainfrom
perf/cgi-strings
Draft

refactor: cgi strings#2188
AlliBalliBaba wants to merge 16 commits intomainfrom
perf/cgi-strings

Conversation

@AlliBalliBaba
Copy link
Contributor

This PR does a bit of cleanup with how Cgi strings are registered by moving the zend_string keys to a struct on the C side. This also has some performance benefits, mainly by not having to do map access and correctly sizing the $_SERVER array.

Server registration goes from around 5.5% of request time to around 3.5%.

Draft as waiting for #2058 first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant