In defense of being premature

A case study [informed rant] on premature optimization with JavaScript anonymous functions

Example

v1
v2
v3
memory usage in MB
this.children = parentData.children.map((_childData) =>
new ChildVM(_childData)
)

Conclusion

Addendum: Example Methodology

execution time in milliseconds

P.S.

Software Engineer 👨‍💻 | Wannabe Writer ✍️ | History Buff 🏺 | Worldbuilder 🌍