- From: Mikhail Pozdnyakov via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 Mar 2017 15:22:48 +0000
- To: public-device-apis-log@w3.org
In another [blink-dev thread](https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/35QSwrRazKY) that I started to figure out the implementation approach exactly for sensors batch API I was guided to [PointerEvent.getcoalescedevents](https://w3c.github.io/pointerevents/extension.html#dom-pointerevent-getcoalescedevents) API returning sequence of objects. We could do smth similar with `sequence<SensorReading>` for batching.. I understand the performance concerns, but on the other hand, considering that the user cannot predict the required size of the buffer BYOB concept might be too complex here. Maybe we could start with a user-friendly API and optimize it if needed? It's usually harder to make an "optimized" API more user-friendly than doing the opposite :-) -- GitHub Notification of comment by pozdnyakov Please view or discuss this issue at https://github.com/w3c/sensors/issues/171#issuecomment-288113690 using your GitHub account
Received on Tuesday, 21 March 2017 15:22:55 UTC