0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-19 03:43:00 -05:00
denoland-deno/cli/lib
David Sherret 679902a108
perf(node_resolver): reduce url to/from path conversions (#27839)
Extracted out of https://github.com/denoland/deno/pull/27838/files

Reduces some allocations by accepting either a pathbuf or url for the
referrer for resolution and returning either a pathbuf or url at the
end, which the caller can then convert into to their preferred state.

This is about 4% faster when still converting the final result to a url
and 6% faster when keeping the result as a path in a benchmark I ran.
2025-01-27 15:23:20 -05:00
..
npm refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
standalone perf(compile): remove swc from denort (#27721) 2025-01-19 14:23:07 -05:00
util refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
args.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
build.rs chore: fix canary version (#27723) 2025-01-19 11:19:47 +01:00
Cargo.toml refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
clippy.toml refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
lib.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
loader.rs fix(node): align type stripping in node_modules error message with Node (#27809) 2025-01-24 13:05:04 -05:00
README.md refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
shared.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00
sys.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
version.rs chore: fix canary version (#27723) 2025-01-19 11:19:47 +01:00
version.txt chore: forward v2.1.7 release commit to main (#27767) 2025-01-21 19:25:12 -08:00
worker.rs perf(node_resolver): reduce url to/from path conversions (#27839) 2025-01-27 15:23:20 -05:00

deno_lib

This crate contains the shared code between the Deno CLI and denort. It is highly unstable.