$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] accumulators: not copying doubles into the acc set
From: MM (finjulhich_at_[hidden])
Date: 2012-07-06 11:32:26
Hello,
Having a list of doubles stored somewhere, is there a way not to copy the
doubles into the accumulator set and just iterate somehow through the
existing data in order to save memory.
Imagine I have a std::vector<double> with 10million entries.
Then pushing each double to the accumulator set object, then I'd imagine, at
one point, the process would hold the 10 million doubles twice.
Rds,
MM