Categories: None [Edit]
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: 83,335 of 196,658
Downloads: 11,659
Daily
Ranking: 111,482 of 196,619
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | rubyghetto |