r/javascript • u/No-Onion-8207 • Mar 20 '22
A real-world example of Improving JavaScript performance
https://www.the-koi.com/projects/an-practical-example-on-improving-javascript-performance/
51
Upvotes
r/javascript • u/No-Onion-8207 • Mar 20 '22
12
u/Nullberri Mar 20 '22 edited Mar 21 '22
Seems like most of the article was "I used the wrong tool for the job and didn't understand my needs very well"
was there a way to design your setup without needing a circular reference? What if you really did need to deep clone because the values get modified later and need fresh copies? How would you have resolved the design choice?
What drove your design decision to use deepclone in the first place? was their originally a need that then dropped later?