diff options
author | Andreu Botella <andreu@andreubotella.com> | 2022-07-11 17:27:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 17:27:33 +0200 |
commit | 018ad9b3a4f2e5c8597274f61262c6035bdb560d (patch) | |
tree | 5dba5fd5a9a9e8fd818532b66ead5c5721e32508 /cli/tools/coverage/merge.rs | |
parent | 83c9714fb2f401e82a6c2e784a43130818e8282d (diff) |
chore(web, worker): Use `DetachedBuffer` for `postMessage` ops (#15133)
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.
Diffstat (limited to 'cli/tools/coverage/merge.rs')
0 files changed, 0 insertions, 0 deletions