1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext
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
..
broadcast_channel chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
cache chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
console chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
crypto chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
fetch refactor: remove remaining references to "flash" server (#18580) 2023-04-04 12:37:56 +02:00
ffi feat(ext/ffi): support marking symbols as optional (#18529) 2023-04-03 21:32:21 +03:00
fs chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
http refactor: remove remaining references to "flash" server (#18580) 2023-04-04 12:37:56 +02:00
io chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
kv chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
napi chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
net chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
node refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
tls chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
url feat(ext/url): URL.canParse (#18286) 2023-04-04 13:34:12 +02:00
web Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-03 21:05:39 +09:00
webidl chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
websocket chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-02 19:41:41 +02:00
webstorage chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00