Hacker News new | ask | show | jobs
by thatguyagain 2096 days ago
This might be a bit of a novice question, but will this affect the initializations of ActiveRecord objects in Rails anything?

For example, processing a large CSV file and inserting new rows in a database from it has always been extremely slow using Ruby/Rails unless you basically just write raw SQL that copies from the CSV and don't do any initializations of Rails models, #create, etc. I wonder if this will improve these things at all, but my guess is that it has to do with memory usage and not the speed of Ruby?