Re: [sensors] Provide the DeviceOrientation sensor

- avoid unnecessary object construction and wrapping of objects -> 
performance/memory overhead
- matrices/vectors etc are basically array formed data, and methods 
working on them, can all be adopted to work on arrays directly in a 
straight forward manner (matrices are laid out per row - only 
requirement). That is not the case for specific objects, where they 
must know the specifics of the object, like property names.
- arrays can be modified easier by external tools, such as SIMD.js and
 Web Assembly.

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

Received on Tuesday, 28 February 2017 14:15:45 UTC