You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding how we realize postMessage()-ing streams #244, we should consider how to deal with invocation of an optimized pipeTo() logic for cross thread case.
Potential targets of optimization
Skipping JS processing between a ReadableByteStream and a WritableByteStream
Skip JS code invocation (write(), read(), etc.) and does the following internally.
Sink exposes a memory region for write
Source exposes a memory region where data for consuming is stored
Both takes memory
sendfile(2) style
Skipping an "identity" transform byte streams completely
Copy data from a to b directly.
Issues:
a.pipeTo(id)
andid.pipeTo(b)
may happen in different threads.The text was updated successfully, but these errors were encountered: