Say you have a large 'before' array, and an 'after' array where the elements have identity but aren't otherwise sorted or anything and need to determine where insertions happened (presumably a much smaller number of them, no reorders, no deletions). Is there a name for this collection operation? Is there a better way than this binary-search-inspired O(log(N) * M) N=original, M=insertions approach?