This article was originally written by Michael Barasa on the Honeybadger Developer Blog.
Memoization is an important optimization technique in sof...
For further actions, you may consider blocking this person and/or reporting abuse
You don't have to use an external variable for cache, you can use a static variable from the method: