Remove n+1 from SetIndex
Make the assumption that most of the time entries with the same key are consecutive
Merge pull request #737 from Shopify/improve_set_index

Don't fire so many events when adding many items to a SetIndex