So I wonder if any of these improvements could be applied to structuredClone.
Benchmarks aren’t showing structuredClone favorably versus JSON round tripping. Likely because JSON-compatible data structures are less complex than clonable data. I suspect with this change JSON will now be faster than structuredClone.
So think about how that graph is going to look once the stringify part is twice as fast. Instead of being slightly faster it'll be statistically slower.
Benchmarks aren’t showing structuredClone favorably versus JSON round tripping. Likely because JSON-compatible data structures are less complex than clonable data. I suspect with this change JSON will now be faster than structuredClone.