The current transferables definition requires several copies such that data form a WebWorker reaches the main thread. We can improve here by directly tesselating into a destination buffer which is then sent to the main thread.
The minimum amount of copies is 2! We currently do more than 4 probably.
The current transferables definition requires several copies such that data form a WebWorker reaches the main thread. We can improve here by directly tesselating into a destination buffer which is then sent to the main thread.
The minimum amount of copies is 2! We currently do more than 4 probably.
🤔 Expected Behavior
Zero-copy (/2 copies)
😯 Current Behavior
Many copies.
💁 Possible Solution
🔦 Context
None