http://hg.viff.dk/viff/rev/4bacbff2e79f
changeset: 1141:4bacbff2e79f
user: Marcel Keller <[email protected]>
date: Thu Feb 19 16:22:15 2009 +0100
summary: Added profile decorator to lin_comb().
diffstat:
1 file changed, 1 insertion(+)
viff/passive.py | 1 +
diffs (11 lines):
diff -r cbdcba8630c5 -r 4bacbff2e79f viff/passive.py
--- a/viff/passive.py Thu Feb 19 16:21:59 2009 +0100
+++ b/viff/passive.py Thu Feb 19 16:22:15 2009 +0100
@@ -138,6 +138,7 @@
result.addCallback(lambda (a, b): a - b)
return result
+ @profile
def lin_comb(self, coefficients, shares):
"""Linear combination of shares.
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk