From: Mike Steiner Date: 2007-05-24T06:59:50+09:00 Subject: optimizing for speed - Array#each ------=_Part_72649_31857798.1179957582110 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I ran the profiler on my program and it said that 51% of the time is spent in Array#each. Is there any way to speed this up (like using Array#each_index perhaps)? And is there a quicker way to do a .gsub if I'm using just strings and not a regexp? By the way, the program compares 2 databases and determines which records have been inserted and deleted, and each database has about 15,000 records to compare. Mike Steiner ------=_Part_72649_31857798.1179957582110--