Less code doesn't mean FAST!
Addam M. Driver
Technology Innovation Leader | AI | Strategist | Architect | Digital Engineering | Change Agent
So I was on a project to "flatten JSON objects". I went through some standard way of doing it. What I found was the recursive way I wrote this code is DRASTICALLY faster than using "stringify" and an object "for(in)" loop.
I think the more interesting part is that I wrote A LOT (relatively speaking) more code than I did and got much better performance.
Providing technical leadership and solutions to Fortune 500 companies - B.S. CS, M.S. CS
9 年By the same token, abstracted code with great design pattern implementations doesnt mean its a robust app.