1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli/tools
Matt Mastracci fcb5a89d91 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-12 15:49:39 +02:00
..
coverage refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-12 15:49:39 +02:00
init refactor(init): remove CURRENT_STD_URL (#18375) 2023-03-23 03:11:18 +00:00
repl fix(repl): improve package.json support (#18497) 2023-03-31 11:43:20 -06:00
vendor feat(core): initialize SQLite off-main-thread (#18401) 2023-03-31 11:43:19 -06:00
bench.rs refactor: include mitata (#18426) 2023-03-31 11:43:18 -06:00
bundle.rs feat(cli): --ext parameter for run, compile, and bundle (#17172) 2023-03-22 10:15:53 -04:00
check.rs perf(check): faster source hashing (#18534) 2023-04-01 17:34:08 -04:00
doc.rs Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-12 15:44:00 +02:00
fmt.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-31 11:43:19 -06:00
info.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
installer.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00
lint.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-31 11:43:19 -06:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
run.rs Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-12 15:44:00 +02:00
standalone.rs chore(test_util): replace tempdir code w/tempdir crate (#18340) 2023-03-22 12:55:19 -06:00
task.rs fix: lazily surface errors in package.json deps parsing (#17974) 2023-03-03 18:27:05 -04:00
test.rs Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-12 15:44:00 +02:00
upgrade.rs Revert "fix(cli): deno upgrade file permission (#18427)" (#18467) 2023-03-31 11:44:37 -06:00