You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2016/11/18 17:10:39 UTC
qpid-dispatch git commit: DISPATCH-561 Re-enable nexthop calculation
optimization
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 <ea...@redhat.com>
Authored: Fri Nov 18 12:10:13 2016 -0500
Committer: Ernest Allen <ea...@redhat.com>
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org