1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Yusuke Tanaka b0ea6e0dc7
chore(ext/node): use array instead of Vec to avoid wrong capacity allocation (#25183)
This commit gets deno_node's customizer to use fixed-length array
instead of `Vec` to avoid wrong capacity allocation.

In the previous code we reserve a capacity of 14 for
`external_references`. However, after pushing all the necessary
`ExternalReference`s, it ends up with a length of 21, not 14. This means
another allocation happens even though we reserve some space.

To make sure that there will no longer be extra allocation, it should be
a good idea to use fixed-length array here.
2024-08-23 17:41:49 -07:00
..
broadcast_channel chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
cache chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
canvas chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
console chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
cron chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
crypto fix(ext/crypto): throw DataError for invalid EC key import (#25181) 2024-08-23 22:06:40 +05:30
fetch chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
ffi chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
fs chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
http chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
io chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
kv chore(build): deno_kv - remove dep on deno_node (#25158) 2024-08-22 14:45:20 -04:00
napi chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
net chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
node chore(ext/node): use array instead of Vec to avoid wrong capacity allocation (#25183) 2024-08-23 17:41:49 -07:00
node_resolver chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
tls chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
url chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
web chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
webgpu chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
webidl chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
websocket chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00
webstorage chore: forward v1.46.1 release commit to main (#25155) 2024-08-22 10:44:53 -07:00