Categories: None [Edit]

ru_pol

https://rubygems.org/gems/ru_pol
https://github.com/baccigalupi/ru_pol
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.

Total

Ranking: 81,425 of 189,455
Downloads: 11,307

Daily

Ranking: 32,370 of 189,432
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,180,975,277bundler
29949,350,330rspec
225206,525,664yard
3,6183,256,485rcov
4,3022,097,634jeweler

Owners

#GravatarHandle
1iconrubyghetto