Use a set to speed up #is_collection?
Merge pull request #589 from ccocchi/faster-collection

Use a set to speed up #is_collection?