-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Works as replacement of serialize-javascript #58
Comments
Lol, yes, I am experimenting with it right now. We are processing tons of data inside webworker and I am testing how msgpack + arraybuffer transfer will work. |
But my concert is that we'll produce additional work for GC during msgpack parsing because native object transfer probably allocating objects in way that can be better handled by GC during transfer phase. |
lol. 🆒 |
Have you tested how it works comparing to structured cloning in WebWorkers? @gfx |
Not tested yet, because I have no project with web workers. |
ok, I am going to test in next week |
https://github.com/yahoo/serialize-javascript is used to exchange structured data within workers and processes, which can serialize
RegExp
,undefined
,Map
,Set
, and so on.I believe replacement from serialize-javascript to msgpack could boost the performance in parallel tasks.
The text was updated successfully, but these errors were encountered: