Issue31

Title Store threshold in Share
Type wish Status chatting
Importance 5.0
Superseder Nosy List Marcel.keller, mg, mk
Assigned To Keywords

Created on 2008-04-05.00:20:04 by mg, last changed 2008-12-16.15:38:21 by mg.

Messages
msg305 (view) Author: mg Date: 2008-12-16.15:38:21
Adding Marcel to the nosy list.
msg224 (view) Author: mg Date: 2008-09-23.18:07:47
Long term idea -- not very important right now.
msg66 (view) Author: mg Date: 2008-04-05.00:20:04
I think it would be a good idea to store the threshold in Share objects.
We would then be able to correctly recognize constants that end up being
Shares since their degree would be zero.

The rules for manipulating the degree seem simple: give the result
degree max(d1, d2) when adding Shares, and d1+d2 when multiplying them.
Opening would reset the degree to zero.

Making this change would make the logic simpler in Runtime.mul since we
could let Share.__mul__ take care of wrapping constants in Shares with
degree zero -- Runtime.mul would then only reshare if the degree of the
product exceeds the default threshold in the Runtime.
History
Date User Action Args
2008-12-16 15:38:21mgsetnosy: + Marcel.keller
messages: + msg305
2008-09-23 18:07:47mgsetimportance: 5.0
status: unread -> chatting
messages: + msg224
2008-09-23 16:26:36tpjsettype: wish
2008-04-07 16:45:42mksetnosy: + mk
2008-04-05 00:42:12mgsetpriority: None
2008-04-05 00:21:14mglinkissue30 superseder
2008-04-05 00:20:04mgcreate
Note:
The indicated property no longer exists