1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-07 22:58:24 -05:00
denoland-deno/ext
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
..
broadcast_channel 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
cache 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
console chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
crypto chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
fetch refactor: remove remaining references to "flash" server (#18580) 2023-04-12 15:49:39 +02:00
ffi chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
fs chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
http refactor: remove remaining references to "flash" server (#18580) 2023-04-12 15:49:39 +02:00
io chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
kv 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
napi 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
net 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
node refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-12 15:49:39 +02:00
tls 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
url 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
web Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-12 15:44:00 +02:00
webidl chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
websocket chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
webstorage 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00