Skip to content

Conversation

realFlowControl
Copy link
Contributor

Did some digging into optimizer passes in php/php-src#19658 and figured I could just document things a bit more user friendly

@TimWolla TimWolla requested a review from arnaud-lb September 3, 2025 13:38
Copy link
Contributor Author

@realFlowControl realFlowControl left a comment

Choose a reason for hiding this comment

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

There are really just a few external links in the docs, would you think it would be beneficial to link to Nikitas blog post?
As there are only a few external links, I am not sure how this is handled usually

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.

This looks good to me, but I will defer to doc maintainers for the final review.

I think that linking to the blog post would make sense, as it can be considered a reference, but I'm not sure about the policy either. I also defer to doc maintainers.

<row>
<entry>10</entry>
<entry>PASS_11</entry>
<entry>Literal optimization</entry>
Copy link
Member

Choose a reason for hiding this comment

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

Suggest: Literal compaction

<row>
<entry>11</entry>
<entry>PASS_12</entry>
<entry>Call stack adjustment</entry>
Copy link
Member

Choose a reason for hiding this comment

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

Suggest: Pre-compute call stack size

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