Memoization is a technique for performance optimization. It is, essentially, calculating a value once and then caching it within an object for the duration of its use.
Memoization comes from the Latin word “memorandum”, meaning “to be remembered”.
(Sourced from Jason Swett’s post on memoization)
@memoized_price || expensive_calculation