perf. improvement for diff on large lists