Re:I made JSON.parse() 2x faster
by v0idzer0 on Saturday March 04, 2023 @07:08PM
(#35025797)
Doesn’t assigning properties behave differently? Spread creates a new object while assigning reuses the existing. Unless you mean creating a new object and then assigning the properties. I’d be surprised if that performed worse though. Also curious if the properties are primitives?
[ Parent
| on HN ]
There are no comments on this comment yet.