opt_ar 1.1.0
Generates memory-optimal immutable ActiveRecord dupes that are easily serializable and behaves much like ARs. Define required attributes before-hand and use them just as you would on an AR, for better memory optimization. Ideally, suitable in place of caching AR objects with cache stores like Memcached, where serialization and de-serialization are memory-hungry. Optars can save upto 90% of your memory(object allocations), while being upto 20x faster, when fetching huge AR results.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activerecord
>= 3.2
mysql2
>= 0.3