W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2017

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

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 9 Jan 2017 11:33:52 +1100
Message-ID: <CABkgnnWVgXy5CqHps2LjZUVSSM19VU0waDF=4TNq+_QytQjfEA@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Jan-Ivar Bruaroey <jib@mozilla.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC