Optimizing Collection::overwriteWith()