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 校验和:

=

下载总量 4,231

这个版本 4,231

版本发布:

许可:

需要的 Ruby 版本:

链接: