Boost logo

Boost Users :

Subject: Re: [Boost-users] Why use 'functional composition' with boost::bind
From: David Abrahams (dave_at_[hidden])
Date: 2010-08-04 16:06:57


On Aug 4, 2010, at 3:22 PM, WB wrote:

> Case 3 runs in ~1.8...1.9s, case 1 and 2 in 0.81...0.84s.
> This is the same ratio I already had (at least I'm not
> confused about that). So your 0.65s for case 3 is
> really amazing.

Knowing nothing about your particular code... chances are good that somebody is not measuring what he thinks he's measuring. If you want a sample of the kinds of issues you should consider, have a look at http://github.com/boost-lib/parameter/blob/master/test/efficiency.cpp

--
David Abrahams
BoostPro Computing
http://boostpro.com

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