RubyGems Navigation menu

ru_pol 0.1.2

RuPol is a glamorous mixin for instance pooling your Ruby classes. It eases the pain of garbarge collection for classes that are instantiated many times, and then tossed away like runway trash. Instances are cached on the class in a pool (array in less glamorous terms), and can be recycled at will. Of course there is no pain without gain, and models will trade collection costs for memory usages. The Swimsuit mixin edition overrides #new and #destroy, for a virtually pain free instance swimming experience. Runway not included.

Versions:

  1. 0.1.2 - April 12, 2011 (12 KB)
  2. 0.1.1 - March 30, 2011 (11.5 KB)
  3. 0.1.0 - March 25, 2011 (13.5 KB)

Authors:

  • Kane Baccigalupi

Owners:

9714192a75643df8d15bf9f009bdb74c

Total downloads 3,021

For this version 1,070

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'ru_pol', '~> 0.1.2' = Copy to clipboard Copied!

install:
gem install ru_pol = Copy to clipboard Copied!

Links: