DEV Community

Discussion on: Understand Memoization in 5 Minutes

nas5w profile image
Nick Scialli (he/him) Author

I appreciate the note.

I did already call out that JSON.stringify is suboptimal in the article.

jbnv profile image
Jay Bienvenu

Yet after you did that, you never gave an optimal alternative. You said it was "suboptimal" yet repeated it in your "optimal" solution.