W3C home > Mailing lists > Public > public-device-apis-log@w3.org > December 2016

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

From: Rick Waldron via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Dec 2016 15:33:08 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-267994029-1482161583-sysbot+gh@w3.org>
> Basically, simply getting data from properties is easier than 
allocating extra object and getting readings to that object every time
 data is required. This makes usability somewhat less simple.

This is also supported by four years of J5 use in the wild—developers 
"get it". 

GitHub Notification of comment by rwaldron
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/153#issuecomment-267994029 using
 your GitHub account
Received on Monday, 19 December 2016 15:33:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC