Re: [w3c/gamepad] Should fire events instead of using passive model (#4)

On Thu, Jan 4, 2018 at 11:33 AM, Jake Archibald <notifications@github.com>
wrote:

> Not really, you get a list of events that were coalesced into that render
> step event. If you don't call getCoalescedEvents, those additional events
> are gone. If it behaved as you describe, it'd be a massive memory leak –
> you'd quickly have millions of events buffered in memory that couldn't be
> collected.
>

That's why these other eventing functions usually let you specify (or have
an implicit) event buffer size.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/4#issuecomment-355250847

Received on Thursday, 4 January 2018 10:40:22 UTC