- From: Rick Byers <notifications@github.com>
- Date: Sat, 12 Aug 2017 18:35:01 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 12 August 2017 18:35:23 UTC
Oh and as I understand it, @cramforce's performance concern is that in large systems you really don't want each independent module creating GC pressure by allocating memory during initialization just for feature detection. Maybe returning a new dictionary is a bad thing by that metric? I guess I'd rather not introduce another one-off pattern if the rough pattern used by `getSupportedConstraints` isn't good enough. But maybe as the interim solution it's fine. Presumably some day we'll have a generic solution in WebIDL and use of these ad-hoc feature detection APIs can be discouraged. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/491#issuecomment-321998274
Received on Saturday, 12 August 2017 18:35:23 UTC