On Sun, Mar 13, 2016 at 10:18 PM, Boris Zbarsky <[email protected]> wrote:
>
> Adding some more flexible ways to deal with GC'ing beyond "just making
>> it better" would be highly welcome.
>>
>
> Yes, this I agree on.
Maybe some kind of API to 1) inform the GC about what strategy of GC'ing
you would prefer and 2) indicate to the GC when's a good time to fulfill
that strategy. For instance, for realtime rendering you'll want to spend
say a maximum of 4ms/frame on GC'ing, you'd indicate
gc.setStrategy('realtime'); and then at the end of a frame gc.now(4);
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss