Re: Simultaneous destructors
Robert O'Callahan <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | Mozilla Corporation |
| Message-ID | <[email protected]> |
On 10/10/09 7:38 AM, Jason Duell wrote: > This is a potential issue. In the case of a small HTTP reply, for > instance, the parent necko will get it all in one socket read(), and > thus would essentially call OnStartRequest, OnDataAvailable, and > onStopRequest in succession. Requiring an IPDL reply for each of > these would introduce two IPC round-trip latencies to the process. > I'm not sure how much that would show up in the overall reponsiveness > of the browser, but the sequence itself would possibly be orders of > magnitude more expensive, time-wise. This seems like something we should definitely avoid. Rob