How to Install and Uninstall ruby-dirty-memoize Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "ruby-dirty-memoize" package

Please follow the instructions below to install ruby-dirty-memoize on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-dirty-memoize

2. Uninstall "ruby-dirty-memoize" package

This tutorial shows how to uninstall ruby-dirty-memoize on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-dirty-memoize $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-dirty-memoize package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-dirty-memoize
Architecture: all
Version: 0.0.4-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 63
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-dirty-memoize/ruby-dirty-memoize_0.0.4-1_all.deb
Size: 5806
MD5sum: b1214147f6a0df084f3a6774c50dccd7
SHA1: eb203ea24ae8a4a73a0672742eb7f8e3b67d5318
SHA256: 69f734babcbb21682fc09e80a866fb95d556e457ce82dcf67a764b8d272e9867
SHA512: 88d0cdd4793889521b6c05e2bd083e79251e7d8168359a93270720b2fad4b711e76746f2c541dfe5318b712d8faaedcfd3d2185e6bb2607f22c82bac42ddada5
Homepage: http://github.com/clbustos/dirty-memoize
Description-en: Similar to ruby-memoize, but for mutable and parameterizable objects
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
Description-md5: 51e1ac7fbd36dde00e54253c99d1c6c8
Ruby-Versions: all