Re: [streams] rsReader.readBatch(numberOfChunks)? rbsReader.read(view, { waitUntilDone: true })? (#320)

> All this talk about GC is recalling that when I ask the VM people about this sort of stuff, they say "generational GC will solve this." Apparently currently promises always outlive the young generation, whereas they probably should not if they're immediately .thened or if the result of .then is not used. But, who knows when that can get fixed...

I don't think this necessarily applies to Firefox.  We definitely have overhead for native promises due to our cycle collector (like chrome's oilpan I think), but I haven't seen or heard evidence about GGC nursery issues.  We can make improvements to the CC (and other native promise bits) but we're unlikely to see anything approaching a 300% improvement.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/320#issuecomment-91694205

Received on Friday, 10 April 2015 21:19:07 UTC