Skip to content

Support doc comments for php 8.1 code, combine equivalent switch cases #204

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
May 14, 2021

Conversation

TysonAndre
Copy link
Collaborator

Requires php/php-src#6984
(php 8.1 has no public alphas yet)

Also, combine equivalent case statements in generated code
to slightly decrease the number of instructions (and in some cases number of branches taken)
(e.g. unoptimized builds and debug builds or old compilers would previously generate different implementations for each case)

@TysonAndre TysonAndre merged commit f8248ff into nikic:master May 14, 2021
@TysonAndre TysonAndre deleted the enum-offset branch May 16, 2021 13:33
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.

2 participants