ponyc icon indicating copy to clipboard operation
ponyc copied to clipboard

Don't add unnecessary methods to virtual tables

Open SeanTAllen opened this issue 5 years ago • 1 comments

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 avatar Sep 25 '20 02:09 SeanTAllen

@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 avatar Sep 25 '20 02:09 SeanTAllen

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

SeanTAllen avatar Jan 29 '24 02:01 SeanTAllen