mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
1cda3840ff
Use the `core.byteLength` op for string utf8 length calculation in `node:buffer` ``` # This patch file:///Users/divy/gh/deno/buffer.mjs benchmark time (avg) iter/s (min … max) p75 p99 p995 ----------------------------------------------------------------- ----------------------------- Buffer#from 272.11 ns/iter 3,675,029.3 (268.41 ns … 301.15 ns) 271.62 ns 295.5 ns 301.15 ns # Deno 1.37.1 file:///Users/divy/gh/deno/buffer.mjs benchmark time (avg) iter/s (min … max) p75 p99 p995 ----------------------------------------------------------------- ----------------------------- Buffer#from 411.28 ns/iter 2,431,428.8 (393.82 ns … 439.92 ns) 418.85 ns 434.4 ns 439.92 ns ``` |
||
---|---|---|
.. | ||
ops | ||
polyfills | ||
analyze.rs | ||
build.rs | ||
Cargo.toml | ||
clippy.toml | ||
errors.rs | ||
global.rs | ||
lib.rs | ||
package_json.rs | ||
path.rs | ||
polyfill.rs | ||
README.md | ||
resolution.rs |
deno_node
require
and other node related functionality for Deno.