W3C home > Mailing lists > Public > public-device-apis-log@w3.org > December 2016

Re: [sensors] Don't allocate response objects to avoid triggering GC

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Dec 2016 15:37:36 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-265181804-1481038654-sysbot+gh@w3.org>
> That makes good sense. Providing default behaviour assuming it 
subscribes to "first", and allowing devs to enumerate available 
sensors and choose specific.

Specific sensor specs get to define what default should be (or if a 
default makes sense at all).




-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/153#issuecomment-265181804 using
 your GitHub account
Received on Tuesday, 6 December 2016 15:41:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC