Re: [sensors] Batching API for sensor readings

> another thing is that have multiple sensor instances using the same buffer infra and new instances can arbitrary appear in runtime, so the buffer size should no t be something settable by the user.

I guess this is a risk. Couldn't this still let you optimize for the most common cases (e.g. perhaps default to only sample) and swap for a bigger buffer if/when the need arises?

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/171#issuecomment-288049126 using your GitHub account

Received on Tuesday, 21 March 2017 11:21:05 UTC