
29 Jun
2007
29 Jun
'07
6:30 p.m.
Michael Marcin wrote:
I need something similar to variant to optimize dynamic dispatches in my application much like what GIL uses. Unfortunately one of my target platforms does not support RTTI.
variant doesn't really optimize dispatch. It probably does a binary search among the different possible types. Virtual functions are way more efficient.