SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : BORL: Time to BUY!

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: David R who wrote (8254)12/28/1997 8:03:00 PM
From: Kashish King  Read Replies (1) of 10836
 
Inproc COM function calls are as fast as normal DLL calls, and faster that vtable lookups.

There is no requirement that you make vtable calls so if you are worried about an extra pointer dereference don't use one. Design your application using C++ classes and wrap those interaces with COM if and only if you have some compelling reason to do that: speed is not one of them. The only real advantage with COM is going to be realized using the dispatch interface. The dispatch interface is NOT faster than a vtable lookup and is about as slow as it gets when you compare a DLL or STATIC class interface as I mentioned in my first post. I suppose if you don't have an extensible, modular, object-oriented approach and you're leaning toward Visual Basic anyway, then hacking out COM interfaces is the way to go.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext