ponyc
ponyc copied to clipboard
Don't add unnecessary methods to virtual tables
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
@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?
@jemc given how old this is and how long it has been open, I think we should close this PR. Thoughts?