mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
018ad9b3a4
This commit uses `DetachedBuffer` instead of `ZeroCopyBuf` in the ops that back `Worker.prototype.postMessage` and `MessagePort.prototype.postMessage`. This is done because the serialized buffer is then copied to the destination isolate, even though it is internal to runtime code and not used for anything else, so detaching it and transferring it instead saves an unnecessary copy. |
||
---|---|---|
.. | ||
broadcast_channel | ||
console | ||
crypto | ||
fetch | ||
ffi | ||
http | ||
net | ||
tls | ||
url | ||
web | ||
webgpu | ||
webidl | ||
websocket | ||
webstorage |