mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
a1764f7690
This is a follow-on to the earlier work in reducing string copies, mainly focused on ensuring that ASCII strings are easy to provide to the JS runtime. While we are replacing a 16-byte reference in a number of places with a 24-byte structure (measured via `std::mem::size_of`), the reduction in copies wins out over the additional size of the arguments passed into functions. Benchmarking shows approximately the same if not slightly less wallclock time/instructions retired, but I believe this continues to open up further refactoring opportunities. |
||
---|---|---|
.. | ||
crypto | ||
polyfills | ||
zlib | ||
Cargo.toml | ||
clippy.toml | ||
errors.rs | ||
idna.rs | ||
lib.rs | ||
ops.rs | ||
package_json.rs | ||
path.rs | ||
polyfill.rs | ||
README.md | ||
resolution.rs | ||
v8.rs | ||
winerror.rs |
deno_node
require
and other node related functionality for Deno.