Skip to content
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

Reduce use of PreviousConnectingVisitor:: ATTRIBUTE_PARENT to assist garbage collector #729

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

staabm
Copy link
Owner

@staabm staabm commented Dec 30, 2024

idea is to have less Ast\Nodes with a pointer to the parent node, so the garbage collector has a easier job identifying unused nodes and clear memory. for our use-case its enough to know parents within functions/method bodies.

refs #667

@staabm staabm changed the title PreviousConnectingVisitor: Drop parent attribute Reduce use of PreviousConnectingVisitor:: ATTRIBUTE_PARENT to assist garbage collector Dec 30, 2024
@staabm staabm marked this pull request as ready for review December 30, 2024 12:12
@staabm staabm merged commit 675388c into main Dec 30, 2024
28 checks passed
@staabm staabm deleted the prev branch December 30, 2024 12:13
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