
David Abrahams wrote:
John Torjo <john.lists@torjo.com> writes:
Dear boosters, In the "looping construct" thread, a while ago David Abrahams said that we should do a test, to compare all looping solutions.
I've made such a test. It tests against: - keeping internal functions in crange<> - virtual functions - BOOST_FOREACH comparing to using raw iterators.
Where can we see the results?
I noticed they were included in the .zip file John sent. Here is the summary: Averages for 128000elements (except first test): raw time : 229.127 secs func calls : 323.871 secs (avg percentage 183.074) vtable calls: 307.038 secs (avg percentage 174.966) foreach calls: 236.767 secs (avg percentage 104.929) -- Eric Niebler Boost Consulting www.boost-consulting.com