This allows us to create large maps quite efficiently. If one needs to create a map with duplicate keys or keys whose hashes may collide, the inefficient to_map can be used instead.