23 Jul
2009
23 Jul
'09
8:33 p.m.
On what kind of hardware? On a 3.2GHz Pentium D running Linux with gcc 4.3.2 , I get:
$ g++ -Wall -O2 -I /usr/local/boost-1_39_0/include/boost-1_39/ sigbench.cpp -lboost_signals-gcc43-mt $ ./a.out vector variant: 0.12 boost::signal Unfragmented variant: 0.89 boost::signal Fragmented variant: 2 $ ./a.out vector variant: 0.12 boost::signal Unfragmented variant: 0.52 boost::signal Fragmented variant: 2.07
Ah, that's weird, I'm on a intel quad core 2.4 ghz running vista 32 bit, compiled with MSVC 2008. I'll rebuild with 1.39 tomorrow and do a run, with signals2 included.