From b784a44cb23e69d3e0c2b1311fa5836cce4df641 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 30 Sep 2013 14:36:13 +0000 Subject: [PATCH] Leave a TODO. git-svn-id: https://svn.dealii.org/trunk@31037 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/work_stream.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deal.II/include/deal.II/base/work_stream.h b/deal.II/include/deal.II/base/work_stream.h index 8a28dd33f4..99e3b7d4c2 100644 --- a/deal.II/include/deal.II/base/work_stream.h +++ b/deal.II/include/deal.II/base/work_stream.h @@ -187,6 +187,10 @@ namespace WorkStream currently_in_use (in_use) {} +//TODO: when we push back an object to the list of scratch objects, in +// Worker::operator(), we first create an object and then copy +// it to the end of this list. We should avoid the copy operations +// since it is expensive ScratchDataObject (const ScratchDataObject &o) : scratch_data (new ScratchData(*o.scratch_data)), -- 2.39.5