RubyGems Navigation menu

without_instanciation 1.0.0

On large results of ActiveRecord queries, instanciation + GC of objects has a real cost of allocating memory, setting values, and after all GC garbage ... Inside a without_instanciation block, data is returned as hash of values. Objects instanciation process id skipped and though GC of theses objects too. Performance up to 80% for large query result. Of course, you no longer work with Ruby AR objects in this block.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 1.0.0 - February 28, 2012 (10.5 KB)

Development 相依性套件 (2):

enginex >= 0
sqlite3 >= 0

擁有者:

作者:

  • Philippe Cantin

SHA 256 checksum:

41c8e5840b880bdb7817476da40090e9d93f7af0fa541b0a6703ec753d707c94

總下載次數 4,061

這個版本 4,061

License:

Ruby 版本需求:

相關連結: