You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use webworker-threads within nogl-shader-output, and I observe that returning an array from the shader is the most time-consuming operation. It takes about 400ms on my laptop to return an array of 300×300 items.
I guess it happens because things get stringified on return.
Is there a fast way to return big data from a thread?
Thank you.
The text was updated successfully, but these errors were encountered:
dy
changed the title
Returning the result
Returning an array from thread
Apr 8, 2016
Hi @audreyt!
I am trying to use webworker-threads within nogl-shader-output, and I observe that returning an array from the shader is the most time-consuming operation. It takes about 400ms on my laptop to return an array of 300×300 items.
I guess it happens because things get stringified on return.
Is there a fast way to return big data from a thread?
Thank you.
The text was updated successfully, but these errors were encountered: