I am wondering if there is any ongoing work to speed up ActiveRecord object instantiation from the database? I am working on a project where we have determined that loading AR records from the database has become a bottleneck in a coupe of spots. To alleviate this we have resorted to raw SQL and hashes.
I’ve had great success with the valium and activerecord-import gems, when it comes to a few places where I need to speed things up because I have hundreds or even many thousands of database rows that need processing and when it just so happens that in those cases I don’t need full blown AR objects, just an array of a column or two will do just fine…