
On 5/27/2011 2:35 PM, Phil Bouchard wrote:
The results are constant so I'm not sure what would trigger CPU speedups in a constant way. Maybe the calls to the memory map are getting faster.
The memory map is indeed getting faster. So now I calculate the median and I get the same results even after reordering the calls: 1) new: auto_ptr: 4640123 ns shared_ptr: 10901185 ns block_ptr: 77581308 ns make: auto_ptr: 5017051 ns shared_ptr: 10559566 ns block_ptr: 120121569 ns 2) make: auto_ptr: 5127206 ns shared_ptr: 10731503 ns block_ptr: 128038925 ns new: auto_ptr: 4667825 ns shared_ptr: 11210022 ns block_ptr: 69109934 ns -Phil