|
|
|
|
|
by fulafel
4593 days ago
|
|
Web Workers can actually let you pass messages at the speed of shared memory, thanks to an optimization, when using typed arrays with "transferables". So you can fling around buffers straight from a worker to the main thread without copying, pass it to WebGL without conversion etc. (The sender loses access to the buffer after it's sent, so it's still safe) |
|