I already said that and also said that if an application "suffers"
(mwuaha :) a performance hit from the very fact that it calls virtual
methods, it shouldn't be written for .NET.

On 7/8/06, Frans Bouma <[EMAIL PROTECTED]> wrote:
> Anybody know why methods aren't virtual by default in .NET?
> It seems like a really bad default to have all methods non-virtual.

       Performance. If you have a call chain of n method calls and all are 
virtual, it will be slower than when you have a call
chain of n method calls and all are non-virtual.

               FB

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com



--

Cheers,
Stoyan

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to