-
Notifications
You must be signed in to change notification settings - Fork 13
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
better structuredClone support #68
Comments
oh, very interesting! I think I can slightly improve the score with an encode option: Thanks for doing this though, perhaps I'll add a link on the README to it. |
I'm just wondering how come that when running |
Also if i would like to add a own Blob/File tag plugin then it would have to read the file in a async manner... everything looks pretty sync to me in this package |
i think that cbor also has references support? no? i mean this example: var input = Array(2).fill({})
var clone = decode(encode(input))
console.assert(clone => clone !== input)
console.assert(clone => clone[0] === clone[1])
console.assert(clone => clone[0] !== input[0]) it should pass? |
I have created this page to test out how good some packages are at mimicing structuredClone and also testing out how fast and efficent they are
https://jimmywarting.github.io/3th-party-structured-clone-wpt
Maybe you want imporove the score...?
The text was updated successfully, but these errors were encountered: