W3C home > Mailing lists > Public > public-device-apis-log@w3.org > February 2017

Re: [sensors] Provide the DeviceOrientation sensor

From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
Date: Tue, 28 Feb 2017 14:15:38 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-283049862-1488291337-sysbot+gh@w3.org>
- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:34:22 UTC