Changes between Initial Version and Version 1 of Ticket #1115, comment 14


Ignore:
Timestamp:
2012-04-01T22:38:05Z (13 years ago)
Author:
davidsarah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1115, comment 14

    initial v1  
    11{{{len(reduce(set.union, sm.itervalues()))}}} as used in the pull request is wrong for the empty map:
    22{{{
    3 >>> reduce(set.union, [])
     3>>> reduce(set.union, {}.itervalues())
    44Traceback (most recent call last):
    55  File "<stdin>", line 1, in <module>
     
    77}}}
    88
    9 {{{len(set(sm.itervalues()))}}} is correct. However, the docs should make clear that a high value of {{{count-good-share-hosts}}} does not imply good share distribution.
     9{{{len(set(sm.itervalues()))}}} is correct. However, the docs should make clear that a high value of {{{count-good-share-hosts}}} does not imply good share distribution (although a low value does imply bad distribution or insufficient shares).