aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/styledcomponents-output.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-11 15:33:39 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-11 15:33:39 -0800
commitfe1a6cee10993e0438ec4823c9291e9af5f48bde (patch)
treef5ae37a1b703feba8d044713ed44a9a6bdef58d5 /integration/snippets/styledcomponents-output.js
parent6a66d9f7fb8bf26665c2a85f7e5adc9f5a08fabb (diff)
downloadbun-fe1a6cee10993e0438ec4823c9291e9af5f48bde.tar.gz
bun-fe1a6cee10993e0438ec4823c9291e9af5f48bde.tar.zst
bun-fe1a6cee10993e0438ec4823c9291e9af5f48bde.zip
[JSON Parser] Improve perf by 2%-4%
We warn when a JSON object has duplicate keys, but detecting duplicate keys has a cost. Now the hash table used for deduping keys is pooled instead of reallocated each time This also removes a call to potentially resize object properties and arrays to their smallest possible size. Resizing an array can be expensive
Diffstat (limited to 'integration/snippets/styledcomponents-output.js')
0 files changed, 0 insertions, 0 deletions