fast-json-stringify icon indicating copy to clipboard operation
fast-json-stringify copied to clipboard

perf: avoid addComma when not necessary

Open cesco69 opened this issue 2 months ago • 7 comments

Just a small performance improvements when an object contains only one key or an array only one item

Side note: the benchmark don't cover this case

cesco69 avatar Oct 08 '25 10:10 cesco69