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

why use virtual method #20

Open
niu2x opened this issue Sep 22, 2020 · 1 comment
Open

why use virtual method #20

niu2x opened this issue Sep 22, 2020 · 1 comment

Comments

@niu2x
Copy link

niu2x commented Sep 22, 2020

i'm not sure.
alloc/free is important for Performance.
is virutal function make a deal

@alitokur
Copy link

@niu2x i believe, its a trade-off between flexibility and performance.

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

No branches or pull requests

2 participants