tiddly-gittly / zx-script

Run Javascript inside tiddlywiki like jupyter notebook
https://tiddly-gittly.github.io/zx-script/
MIT License
3 stars 0 forks source link

Speedup json parse #3

Open linonetwo opened 1 year ago

linonetwo commented 1 year ago

https://github.com/unjs/destr

linonetwo commented 1 year ago

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone seems can't use in the worker, this might be slower?

And destr won't throw, may cause mis copied object. but user can log to see the result so its ok.