Le 03/05/2012 22:22, Gor Gyolchanyan a écrit :
That workaround is pretty obvious, but I can't afford to make an extra
call every time. This event system is supposed to be ultra-fast. Isn't
there a way to get to the vtable etry itself?

Well :
1/ Such a trivial thing is surely inlined by any compiler with optimizations on.
2/ You can afford a virtual dispatch, but can't afford a function call ?

I do think you are in case of premature optimizations here.

Reply via email to