summaryrefslogtreecommitdiff
path: root/core/core.js
diff options
context:
space:
mode:
authorAndreu Botella <abb@randomunok.com>2021-07-02 12:11:20 +0200
committerGitHub <noreply@github.com>2021-07-02 12:11:20 +0200
commit7b0375fae7578c0c7e4f4229e59ad5046ecf75ab (patch)
tree62ea39be6fb939490d09751667b96280a7be89d8 /core/core.js
parent4bc8fe71db89d3c430bc615815a15b7ee04476c7 (diff)
perf: speed up TextEncoder.prototype.encodeInto() (#11219)
The current implementation of op_encoding_encode_into UTF-8 encodes each individual code point in the input string into the output buffer. But after the ops binding, the input is a Rust String, so the UTF-8 bytes can simply be copied to the output. This should improve this API's performance.
Diffstat (limited to 'core/core.js')
0 files changed, 0 insertions, 0 deletions