Re[2]: [Dev-C++] Pointer to function
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Per W. <pw...@ia...> - 2004-07-08 15:51:43
|
Since the speed difference of a function pointer compared to a virtual method call is less than a nanosecond on a modern computer - in some cases the speed difference is zero because of specific c++ code optimizations in the compiler - you have a major problem if you think virtual method calls aren't fast enough... /Per W On Thu, 8 Jul 2004, Harry Piterson wrote: > Hello Alvin, > > It's really slow... My application is critical to run time. I use > thread to handle events and change programm's state. > > Tuesday, July 6, 2004, 7:23:47 PM, you wrote: > > AT> if you're using c++ you may want to use virtual functions/polymorphism > AT> instead of using function pointers... > > AT> -alvin > > -- > Best regards, > Harry mailto:wi...@ma... > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |