I would suppose that packing people into high density housing is great for efficient distribution of goods, and seeing as dense megacities support great public transit I would wager that this is clearly better for the environment than the alternative.