3 ms·
> This study does not contemplate shallow cloning or performance. Hmm? > cloneJSON is very slow and can’t do much. Please avoid it. I always thought that jav
by perttir 4y ago
> This study does not contemplate shallow cloning or performance.
Hmm?
> cloneJSON is very slow and can’t do much. Please avoid it.
I always thought that javascript is fast at JSON parsing. Atleast the benchmark shows nice results: https://www.measurethat.net/Benchmarks/Show/18541/0/jsonstringify-vs-structuredclone https://www.measurethat.net/Benchmarks/Show/18541/0/jsonstri...