Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-04-14 15:40:54


"Neal D. Becker" <ndbecker2_at_[hidden]> writes:

> I got benchmarks about 1/2 speed of hand-written implementation for all
> versions of the cycle_iterator until I added operator[].

You mean you were testing the speed of your iterator's operator[]?
That's not a very important test. operator[] is one of the least-used
iterator operations.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk