Andreas Kling
b629914428
LibWeb: Make TransferArrayBuffer zero-copy
...
Move owned ArrayBuffer storage directly when transferring stream
buffers instead of copying the bytes before detaching the source.
WebAssembly memory continues to copy because its ArrayBuffer wraps
externally-owned storage.
Preserve the abrupt completion from DetachArrayBuffer before moving
storage so non-transferable buffers, such as WebAssembly.Memory-backed
views, still surface TypeError through stream operations instead of
aborting.
This saves ~130ms of main thread time when loading a YouTube video
on my Linux computer. :^)
2026-04-25 10:53:51 +02:00
..
2026-04-24 20:08:29 +02:00
2026-04-21 07:36:13 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-25 08:47:47 +02:00
2026-04-25 08:47:47 +02:00
2026-04-24 20:08:29 +02:00
2026-03-10 15:17:51 +01:00
2026-04-24 20:08:29 +02:00
2026-04-23 22:12:13 +02:00
2026-04-21 07:36:13 +02:00
2026-04-24 20:08:29 +02:00
2026-04-25 08:49:04 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 19:08:28 +02:00
2026-04-21 06:59:11 -04:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-22 07:34:18 -04:00
2026-04-21 19:11:24 -05:00
2026-04-24 20:08:29 +02:00
2026-03-24 15:08:24 +01:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-22 08:02:15 -04:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-25 10:53:51 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-21 07:36:13 +02:00
2026-04-24 20:08:29 +02:00
2026-04-21 07:36:13 +02:00
2026-04-25 06:11:18 +02:00
2026-04-24 20:08:29 +02:00
2026-04-05 13:57:58 +02:00
2026-04-24 20:08:29 +02:00
2026-04-23 07:07:49 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-04-21 07:36:13 +02:00
2026-04-24 20:08:29 +02:00
2026-04-14 23:01:36 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 07:34:54 +01:00
2026-04-01 11:51:43 +02:00
2026-04-24 20:08:29 +02:00
2026-04-24 20:08:29 +02:00
2026-03-22 14:09:22 -05:00
2026-04-05 11:34:42 -04:00