Repository: qpid-dispatch Updated Branches: refs/heads/master 02ffd44d3 -> e7be39c5b
DISPATCH-561 Re-enable nexthop calculation optimization Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e7be39c5 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e7be39c5 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/e7be39c5 Branch: refs/heads/master Commit: e7be39c5b05df56111e431fcbf55ff0530fe48b1 Parents: 02ffd44 Author: Ernest Allen <[email protected]> Authored: Fri Nov 18 12:10:13 2016 -0500 Committer: Ernest Allen <[email protected]> Committed: Fri Nov 18 12:10:13 2016 -0500 ---------------------------------------------------------------------- console/test/mock/nexthop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e7be39c5/console/test/mock/nexthop.py ---------------------------------------------------------------------- diff --git a/console/test/mock/nexthop.py b/console/test/mock/nexthop.py index ab0c01a..6c964c8 100644 --- a/console/test/mock/nexthop.py +++ b/console/test/mock/nexthop.py @@ -77,7 +77,7 @@ class Hopper(object): if self.verbose: print " ------- returning " + str(self.table[f][t]) ret = self.table[f][t] - self.table = {} + #self.table = {} return ret for n in node.children: q.append(n) @@ -108,7 +108,7 @@ class Hopper(object): self.table[n][a] = p def loop(ancestors): - for i in range(1): #range(len(ancestors)): + for i in range(len(ancestors)): start = ancestors[i] for j in range(i+1, len(ancestors)): stop = ancestors[j] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
