From 59770883aa8b7b4720143c074259ce21d5b49a6c Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 13 Jul 2007 22:26:09 +0000 Subject: [PATCH] small change to improve efficiency --- Robust/src/Runtime/task.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Robust/src/Runtime/task.c b/Robust/src/Runtime/task.c index dda6107e..9d3e14a2 100644 --- a/Robust/src/Runtime/task.c +++ b/Robust/src/Runtime/task.c @@ -717,6 +717,20 @@ void builditerators(struct taskdescriptor * task, int index, struct parameterwra } } } + + /* Next do objects w/ unbound tags*/ + + for(i=0;idescriptorarray[i]; + if (pd->numbertags>0) { + processobject(parameter, i, pd, &iteratorcount, statusarray, numparams); + processtags(pd, i, parameter, &iteratorcount, statusarray, numparams); + goto loopstart; + } + } + } + /* Nothing with a tag enqueued */ for(i=0;i