Skip to content

Remove the documentation comments compilation overhead - #4908

Open
fabpot wants to merge 2 commits into
twigphp:3.xfrom
fabpot:doc-comments-overhead
Open

Remove the documentation comments compilation overhead#4908
fabpot wants to merge 2 commits into
twigphp:3.xfrom
fabpot:doc-comments-overhead

Conversation

@fabpot

@fabpot fabpot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Documentation comments are now attached to semantic nodes during parsing, removing the dedicated AST traversal. Token parsers returning placeholder nodes can select the semantic documentation target.

@fabpot
fabpot force-pushed the doc-comments-overhead branch from 3022f35 to 10dea0f Compare August 27, 2026 16:51
@fabpot fabpot changed the title Remove the documentation comments overhead for templates not using them Remove the documentation comments compilation overhead Aug 27, 2026
@fabpot
fabpot force-pushed the doc-comments-overhead branch from 81a7d87 to 10dea0f Compare August 27, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant