Less code doesn't mean FAST!

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.  

Armando Padilla

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.

要查看或添加评论,请登录

Addam M. Driver的更多文章

社区洞察

其他会员也浏览了