3 ms·
You could always use transferable ArrayBuffers and serialize your data with Flatbuffers or something similar. That being said, in all the off-main-thread apps
by dassurma 7y ago
You could always use transferable ArrayBuffers and serialize your data with Flatbuffers or something similar.
That being said, in all the off-main-thread apps I have written so far, the cost of structured cloning was pretty much irrelevant.
- EdSharkey 7y agoGood to know, thanks