|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59513 - in sandbox/statistics/detail/assign: boost/assign libs/assign/doc libs/assign/test
From: erwann.rogard_at_[hidden]
Date: 2010-02-05 12:29:25
Author: e_r
Date: 2010-02-05 12:29:24 EST (Fri, 05 Feb 2010)
New Revision: 59513
URL: http://svn.boost.org/trac/boost/changeset/59513
Log:
doc
Added:
sandbox/statistics/detail/assign/libs/assign/doc/
sandbox/statistics/detail/assign/libs/assign/doc/cref_list_of2_speed.txt (contents, props changed)
Text files modified:
sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp | 1 -
sandbox/statistics/detail/assign/libs/assign/test/cref_list_of2_speed.cpp | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
Modified: sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp 2010-02-05 12:29:24 EST (Fri, 05 Feb 2010)
@@ -15,7 +15,6 @@
#include <boost/shared_ptr.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/type_traits.hpp>
-#include <boost/ref.hpp>
#include <boost/array.hpp>
#include <boost/range.hpp>
#include <boost/assign/list_of.hpp>
Added: sandbox/statistics/detail/assign/libs/assign/doc/cref_list_of2_speed.txt
==============================================================================
--- (empty file)
+++ sandbox/statistics/detail/assign/libs/assign/doc/cref_list_of2_speed.txt 2010-02-05 12:29:24 EST (Fri, 05 Feb 2010)
@@ -0,0 +1,26 @@
+Output from cref_list_of2_speed.h for n = 1000 * 1000
+Mac OS Leopard 10.6 - x86_64 - Release mode - gcc 4.0
+
+cref_list_of2(1) => 0.01 s
+
+cref_list_of(1) => 0.01 s
+
+cref_list_of2(3) => 0.03 s
+
+cref_list_of(3) => 0.01 s
+
+cref_list_of2(10) => 0.09 s
+
+cref_list_of(10) => 0.05 s
+
+cref_list_of2(30) => 0.29 s
+
+cref_list_of(30) => 0.21 s
+
+cref_list_of2(80) => 0.86 s
+
+cref_list_of(80) => 0.47 s
+
+cref_list_of2(160) => 1.94 s
+
+cref_list_of(160) => 0.92 s
Modified: sandbox/statistics/detail/assign/libs/assign/test/cref_list_of2_speed.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/test/cref_list_of2_speed.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/test/cref_list_of2_speed.cpp 2010-02-05 12:29:24 EST (Fri, 05 Feb 2010)
@@ -46,7 +46,7 @@
int const str_len = 100, // Irrelevant bec. we don't copy them
max_N = 200;
- const int n = 100 * 1000;
+ const int n = 1000 * 1000;
int N;
Vec v;
std::generate_n(std::back_inserter(v), max_N, boost::bind(&rand_str, str_len));
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk