The Rubyist's Guide to Memoization
This article covers one of my favorite techniques for improving performance: memoization. It’s a source of easy little performance wins that eventually add up and only occasionally reduce your application to a heap of smoldering rubble. Only very occasionally. - http://blog.honeybadger.io/rubyist_guide_to_memoization/
Comments
Small correction in the article. In the “code above does 3 things”, step 2 should be “if there is not”
Post a comment