Performance difference

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

Is there any performance difference between a public method and a private
method? Or the difference is just the scope?

Thanks
Aaron
 
There is no performance difference. This is a design choice dealing with
the ability of an object to hide members, and has no effect on performance.

--- Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top