viff

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 diff
     1.1 --- a/viff/runtime.py	Sat Mar 29 18:06:30 2008 +0100
     1.2 +++ b/viff/runtime.py	Sat Mar 29 18:10:44 2008 +0100
     1.3 @@ -642,8 +642,6 @@
     1.4                          d = self._expect_share(peer_id, share.field)
     1.5                          self.schedule_callback(d, lambda s, peer_id: (s.field(peer_id), s), peer_id)
     1.6                      deferreds.append(d)
     1.7 -                # TODO: This list ought to trigger as soon as more than
     1.8 -                # threshold shares has been received.
     1.9                  return self._recombine(deferreds, threshold)
    1.10  
    1.11          result = share.clone()