Registry / utility / memoist

memoist

JSON →
library0.16.2rbrubygemsunverified

Memoize methods invocation to cache results and improve performance.

gem install memoist
INSTALL
IMPORT
SIG · MEMOIST
M
memoist
utilityrubyv0.16.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Memoist
require 'memoist'

Memoize a method to cache its return value.

require 'memoist' class Example extend Memoist def expensive_method sleep 1 'result' end memoize :expensive_method end Example.new.expensive_method
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.16.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
memoist — gem install memoist · libregistry