Categories: None [Edit]
without_instanciation
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.
Total
Ranking: 134,084 of 187,622
Downloads: 4,513
Daily
Ranking: 83,726 of 187,603
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | anoiaque |