Regular |
|
Joined: Fri Jun 11, 2004 6:27 am Posts: 81 Location: Yaroslavl, Russia
|
While there could be architecture-related reasons to switch from IInterceptor to .NET events, it's completely pointless to think about performance here. Call of an empty method costs nearly nothing. At the same time, call via a delegate is a bit slower than direct call of an interface's method. Most likely the performance gain of not calling empty methods will be less than the loss from using delegates.
_________________ Best,
Andrew Mayorov // BYTE-force
|
|