From c0af61632938f161dd2e15dec3c5260a3d5427ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Sep 2007 21:39:53 +0000 Subject: Work towards port monitoring and better (higher utilization) parallel execution. git-svn-id: http://svn.drobilla.net/lad/ingen@784 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/CompiledPatch.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs/engine/CompiledPatch.hpp') diff --git a/src/libs/engine/CompiledPatch.hpp b/src/libs/engine/CompiledPatch.hpp index f5de52e1..953d94d6 100644 --- a/src/libs/engine/CompiledPatch.hpp +++ b/src/libs/engine/CompiledPatch.hpp @@ -39,7 +39,8 @@ struct CompiledNode { { // Copy to a vector for maximum iteration speed and cache optimization // (Need to take a copy anyway) - + + _dependants.reserve(d->size()); for (List::iterator i = d->begin(); i != d->end(); ++i) _dependants.push_back(*i); } -- cgit v1.2.1