
The memoist library provides methods memoization. Memoization cached objects can be looked up faster.
This is an extraction of Ruby on Rails' ActiveSupport::Memoizable library. Ruby on Rails' ActiveSupport::Memoizable has been already deprecated, but it is still useful.