1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext/node
Matt Mastracci a1764f7690
refactor(core): Improve ergonomics of managing ASCII strings (#18498)
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.
2023-04-04 06:46:31 -06:00
..
crypto fix(ext/node): implement crypto.Sign (RSA/PEM/SHA{224,256,384,512}) (#18471) 2023-03-28 21:46:48 +09:00
polyfills refactor(ext/node): migrate "http" module to use "Deno.serveHttp" API (#18552) 2023-04-03 00:50:39 +02:00
zlib feat: port node:zlib to rust (#18291) 2023-03-27 16:03:07 +00:00
Cargo.toml chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
clippy.toml refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-30 03:20:31 +02:00
errors.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
idna.rs refactor: use ops for idna & punycode (#17817) 2023-02-20 18:47:42 +01:00
lib.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
ops.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-30 03:20:31 +02:00
package_json.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-30 03:20:31 +02:00
path.rs chore(ext/node): fix variable name (#17948) 2023-02-27 21:26:02 +01:00
polyfill.rs refactor(ext/node): untangle dependencies between js files (#18284) 2023-03-20 14:05:13 -04:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs refactor(ext/node): add NodeEnv::Fs associated type (#18484) 2023-03-30 03:20:31 +02:00
v8.rs feat(ext/node): implement node:v8 (#17806) 2023-02-17 18:48:09 +05:30
winerror.rs perf(ext/node): move winerror binding to rust (#17792) 2023-02-16 19:19:32 +05:30

deno_node

require and other node related functionality for Deno.