This only works, however, if you can predict ahead of time what operations you want to do on a collection.