gt;
> You can also optimize the postMessage data transfer by using the
> 'transferList' parameter, putting the buffer property of each typed array
> in the list. This will avoid an extra copy of the smaller backing buffer,
> as long as you no longer need the array in the worker.
>
>
thod:
>
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
>
> var func = mapOfFunctions[funcName];
> func.apply(Module, args); // Module is the 'this' param
>
> -- brion
>
>
>
> On Fri, Nov 4, 2016 at 9:51 AM, Sohail Siadat