From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-09 15:52:03
> > - the indexing followed by an addition is negligeable because the
> > pointer usage already slows down member accesses;
> How about indexing, addition, and *conditional branch*? That appears
> in your latest code, and rightly so. I fully expect a branch to have a
> noticeable effect on high-volume dereferences.
What conditional branch? get() is just: m_ptr + s_rectify[get_type_id()].
> Agreed. And the benchmarks you have provided suffer from the most
> obvious criticism of benchmarks in general: they do not reflect common
I'm working on it.
Philippe A. Bouchard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk