Boost logo

Boost Users :

From: Daniel James (daniel_at_[hidden])
Date: 2005-06-12 13:12:05


Victor A. Wagner Jr. wrote:

> I'm still stunned that the range constructor is slower than Tom's
> loop. Substantially slower.

He used the profiler to time it - the input iterator's overhead is
probably exagerated by the profiling code. Turn of profiling and turn up
the optimization and the two versions should run at about the same speed.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net