Description
Adds memoization helpers inspired by ActiveSupport::Memoizable. It is useful when Ruby methods repeat expensive calculations and can safely reuse the same result.
Memoization can keep stale or sensitive values in memory. Use it only for stable results, and clear caches when inputs, permissions, or user context change.