Boost logo

Boost Users :

Subject: [Boost-users] Accumulators: Using data vector from Interprocess
From: dhruva (dhruvakm_at_[hidden])
Date: 2008-12-23 05:48:56


Hi,
 I have large data to be processed hence planning to use memory mapped
file backed vector from boost::interprocess. Could I use this vector
directly in accumulators and perform computations on data in the
boost::interprocess container without having to copy it all into the
contain in accumulator_set?

 Also, is there a way to remove an entry once I add it to an
accumulator_set? I want to emulate a sliding window calculation. Ex:
If my window size is 100, when I add the 101st entry, I want to remove
the 1st entry so that the size is always 100.

-dhruva

-- 
Contents reflect my personal views only!

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