Takeshi Yoshino
Takeshi Yoshino
> An obvious objects-to-bytes use case is TextEncoder. Ah, yeah! I didn't realize that well. So, given what we're trying to ship for the first time, TextDecoder and TextEncoder are...
Regarding highWaterMark, I think we could instead explore making `[[strategyHWM]]` adjustable.
> The underlying sink doesn't see the buffer until the other buffers in the queue ahead of it have been consumed. So it doesn't get detached immediately. So there is...
Oh, I should have just learn SharedArrayBuffer design more in depth. Thanks for the pointer.
Yeah, we discussed that as beginWrite() before in https://github.com/whatwg/streams/issues/329#issuecomment-106711552 which returns a promise that gets fulfilled by a buffer to write into. But passing a callback like isonmad's suggestion is...
> Are there use-cases for zero-copy transform streams? Every useful stream I can think of has to at least read and write every byte, at which point zero-copy doesn't gain...
> XORing would still be reading and writing every byte, wouldn't it? Ah, yeah. I was thinking about benefit of: - (1) no-copy between different memory regions (read from address...
> discarding ... inserting Yeah. Sounds no-operation on some memory region is the key.
Regarding (1), I also wondered if there's performance difference between XORPS and VXORPS. Maybe not though I'm not so familiar with SSE/AXV details.
> Please Return This Buffer (PRTB) Good, but I'd omit please as BYOB doesn't have it than adding it to make it four-letter. I also had some ideas. https://github.com/whatwg/streams/issues/329#issuecomment-106780286. Buffer...