ruby-dirty-memoize

Similar to ruby-memoize, but for mutable and parameterizable objects

Description

The dirty-memoize library can help making your program faster in the following cases:

 - You have one expensive method which sets many internal variables,
   thus lazy evaluation of these dependent variables is preferred.
 - The expensive operation depends on one or more parameters
 - Changes to one or more parameters affect all dependent variables
 - You may want to hide the call to the 'compute' operation

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

http://github.com/clbustos/dirty-memoize


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-dirty-memoize