W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2013

Re: Proposal to move sourceID to be integers

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 7 May 2013 11:01:11 -0700
Message-ID: <CABkgnnUU7ktbboJ7LhjnDAsyDDnHby3coNijPQBzMpC3qVY2Nw@mail.gmail.com>
To: "Cullen Jennings (fluffy)" <fluffy@cisco.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 7 May 2013 09:54, Cullen Jennings (fluffy) <fluffy@cisco.com> wrote:
>
> As far as I can tell, sourceID are more or less opaque identifiers. So can we move them to be integers to help make it easier to process constraints. It would be fine if this integer was created by doing a hash of some string.
>
> Note … I don't care much one way or the other if we do this but seems like not all bad idea ….

How big an integer?  I'm thinking that the JavaScript numeric types
don't have enough bits for what I was planning to do.

How does this make constraint processing easier?  By removing string
(i.e., enumerated) types from the set of permissible constrain types?
Received on Tuesday, 7 May 2013 18:01:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:17 UTC