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

Don't add unnecessary methods to virtual tables #3663

Closed
wants to merge 1 commit into from
Closed

Conversation

SeanTAllen
Copy link
Member

Methods are now only added to virtual tables when they can actually
be called through a trait. This allows the compiler to generate
smaller and more compact virtual tables.

This work was originally done by Benoit in PR #1917

@SeanTAllen SeanTAllen marked this pull request as draft September 25, 2020 02:45
@SeanTAllen
Copy link
Member Author

@jemc I think we should close #1917 and we can iterate on this change from this new branch that is in the repo and appears to suffer from segfaults currently. Agreed?

@SeanTAllen SeanTAllen added the help wanted Extra attention is needed label Sep 29, 2020
Base automatically changed from master to main February 8, 2021 23:02
Methods are now only added to virtual tables when they can actually
be called through a trait. This allows the compiler to generate
smaller and more compact virtual tables.

This work was originally done by Benoit in PR #1917
@SeanTAllen
Copy link
Member Author

@jemc given how old this is and how long it has been open, I think we should close this PR. Thoughts?

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Jan 29, 2024
@SeanTAllen SeanTAllen closed this Jan 30, 2024
@SeanTAllen SeanTAllen deleted the benoit-1917 branch January 30, 2024 19:11
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants