Website workers let you transfer massive buffers between workers without copying. However, as soon as you transfer the array buffer to another employee, the original employee loses access to its contents.
So, you can try to save your data structure in an array buffer to take advantage of this.
See the mdn and html5rocks article .
So, for Dart, save your data in ByteData , and then, when compiled via dartjs, this should not be copied, but transferred.
: Mozilla -. emscripten c javascript. , , , .