How to Install and Uninstall ruby-dirty-memoize Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 23,2024

1. Install "ruby-dirty-memoize" package

This guide let you learn how to install ruby-dirty-memoize on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-dirty-memoize package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-dirty-memoize
Priority: optional
Section: universe/ruby
Installed-Size: 63
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 0.0.4-1
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
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
Homepage: http://github.com/clbustos/dirty-memoize
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu