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
The default encoder has to deeply traverse every object/ array sent over the wire to replace any functions. Another strategy would be to encode the entire object to a binary representation (since that will give us a chance to convert functions into a meaningful representation at the same time), which should also be faster to transfer via postmessage when the messages are very large.
Activity
lemonmade commentedon Feb 28, 2022
Another option: https://msgpack.org/index.html