Do you know if index_by does a single hash and inserts or if it uses merge?  For large data sets that can make a substantial performance difference.