Re: Idea: "Enable" function for stats members?

On 9 January 2017 at 09:24, Harald Alvestrand <harald@alvestrand.no> wrote:
> Den 08. jan. 2017 23:19, skrev Martin Thomson:
>> On 7 January 2017 at 07:15, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:
>>> This might be a bigger change to the spec than implementations, as it might
>>> mean converting the dictionaries to interfaces...
>>
>> This is something I'd like to see happen.
>>
>
> If the interface remains iterable, people who collect "all the stats"
> will still hit all the items, making usage counts useless.

Those uses would create a floor on the measurements, so you just have
to correct for that.  (I suppose it might be possible to count
accesses to the iterator to help with that correction.)

Received on Monday, 9 January 2017 00:34:28 UTC