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: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Dec 2016 19:52:28 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-267681398-1481917946-sysbot+gh@w3.org>
@Maksims 

> Haven't seen such pattern anywhere in a W3C.

https://w3c.github.io/webvr/#dom-vrdisplay-getframedata

Since you have raised concerns about GC / performance issues related 
to current API, do you have any data / test app that shows the 
problem? As I mentioned before, you can test Generic Sensor based APIs
 with Chromium canary builds by enabling "Generic Sensor" flag.

> sensor.data.x

How is that different from sensor.reading.x?


-- 
GitHub Notification of comment by alexshalamov
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/153#issuecomment-267681398 using
 your GitHub account
Received on Friday, 16 December 2016 19:52:34 UTC

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