r/programming • u/No-Onion-8207 • Apr 03 '22
A real-world example on Improving JavaScript performance. Or how a single line of code could make a huge difference.
https://www.the-koi.com/projects/an-practical-example-on-improving-javascript-performance/
0
Upvotes
1
9
u/coloredgreyscale Apr 03 '22
Tl;dr: shallow copy instead of deep copy on a object containing a reference to a list of all instances of the object-type.