I recently did a little clean up of an app I've been working on. One of the things I did was to mark all the classes I have no intention of deriving from as sealed. When I did this, I saw about a 25 percent improvement in performance vs. the non-sealed classes. I did some simple tests and consistently see this performance difference. Can someone point me to a refernce where I can learn about how sealed vs. non-sealed methods are treated under the covers?
Thanks You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.