4 ms·
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 C
by thatguyagain 6y 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?