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

@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