23 Jul
2009
23 Jul
'09
12:08 p.m.
2009/7/23 Igor R
Which gives me the results ~5.2 ms for the vector variant and ~411 ms for the boost::signals variant. However, disabling checked iterators gives me ~3.8 ms for the vector variant and ~180 ms for boost::signals, so it seems to make a world of difference for the overhead associated with slots.
Did you switch optimizations on?
Yes, /O2 /Ob2 /Oi /Ot, all of the common optimization flags in favor of fast code. This is VS 2008 btw.