changeset 621:bfa550e712c2

Removed outdated comment. Runtime._recombine has used a ShareList since revision 9a793593e34d which makes it short-circuit the calculation as soon as enough shares has been received.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 29 Mar 2008 18:10:44 +0100
parents fda3d1c8f4af
children 2b9d4c9e959b
files viff/runtime.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/runtime.py	Sat Mar 29 18:06:30 2008 +0100
+++ b/viff/runtime.py	Sat Mar 29 18:10:44 2008 +0100
@@ -642,8 +642,6 @@
                         d = self._expect_share(peer_id, share.field)
                         self.schedule_callback(d, lambda s, peer_id: (s.field(peer_id), s), peer_id)
                     deferreds.append(d)
-                # TODO: This list ought to trigger as soon as more than
-                # threshold shares has been received.
                 return self._recombine(deferreds, threshold)
 
         result = share.clone()