Posted almost 5 years ago. Visible to the public.

Memoization [0.5d]


  • Understand what Memoization is and why it is necessary
  • Understand the @variable ||= computation pattern
  • Learn how to use the memoized gem


  • Use the @variable ||= pattern.
  • Use the memoized gem.

What are the advantages of the memoized gem over the @variable ||= syntax?

Owner of this card:

Henning Koch
Last edit:
10 months ago
by Hannes Randow
Posted by Henning Koch to makandra Curriculum
This website uses cookies to improve usability and analyze traffic.
Accept or learn more