Hello,

I have made a small program (apps/seq-mul.py) in order to isolate the
memory usage for this program:

  x = rt.prss_share_random(Zp)
  for _ in xrange(n):
    x = x * x

The results for different n is:

  1000: 53.3 MiB
  2000: 55.4 MiB
  3000: 57.4 MiB
  4000: 58.3 MiB
  5000: 61.4 MiB

The program uses n (or maybe n+1) Share so this indicates that a
single Share costs about 2 KiB when used in multiplications like this.

-- 
Martin Geisler
_______________________________________________
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Reply via email to