Files
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-03 21:21:09 +02:00
2026-04-03 21:21:09 +02:00
2026-04-03 21:21:09 +02:00
2026-04-03 21:21:09 +02:00
2026-03-19 21:55:10 -05:00
2026-04-03 21:21:09 +02:00
2026-03-19 21:55:10 -05:00
2026-04-03 21:21:09 +02:00