Boost logo

Boost :

Subject: Re: [boost] Request For a feature - Templated virtual functions
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-02-13 04:33:44

Gokulakannan Somasundaram wrote:

> Attaching the files..

Testing with GCC 4.3.2, -O3 -march=native -fomit-frame-pointer on an
Intel Core 2 Duo.

My results are:

Time elapsed: 2621 mu.s
Time elapsed: 3136 mu.s
Time elapsed: 2250 mu.s

Hence, switch is slightly faster.

Why do you test two times for the variant by the way?

Boost list run by bdawes at, gregod at, cpdaniel at, john at