Ruby Banter #004
In this episode Norbert shows how memoization is implemented and how you can use it to speed up slow methods.
Comments
Add your comment
In order to fight spam on this blog, posting comments from a browser without javascript is currently not supported.

Subscribe
kb 28 minutes later: (delete | show email)
"memoization"
How do you pronounce this word anyway? ¶
Manfred Stienstra 30 minutes later: (delete)
Well, we do it a few times in the video (: ¶
Yurii Rashkovskii about 7 hours later: (delete | show email)
Isn't it something close to caches.rb gem/plugin? ¶
Remco van 't Veer 33 days later: (delete)
The module you're using is broken. All results are cached on class instead of instance level. See http://pastie.textmate.org/91998 for more information. ¶
Thijs van der Vossen 34 days later: (delete)
Thanks, we've updated the code to include your fix. ¶