|
Boost : |
From: Tom Brinkman (reportbase_at_[hidden])
Date: 2007-07-15 18:52:43
I wonder how efficient this method to populate the "time_series" containers is?
make_ordered_inserter(s)
(8, 2)
(6, 4)
(4, 6)
(2, 8)
.commit();
What is the preferred method to quickly populate a large number of
data points, say in the thousands?
What is the preferred method to bind a structure's member variable to
the ordered insertion list?
Example:
struct Foo
{
boost::date_time::date date;
double high;
double low;
};
Foo foo[10000];
How would I populate and bind "foo::high" into a sparse_series?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk