It probably wouldn't be to the benefit of China as a country. But that might not matter given how much Xi has consolidated power - the question is whether it benefits him. And if he wants to end up in the history books as "great leader who completed reunification of the country" or some such, he might have to rush even if that significantly increases the costs.
(There are good reasons to believe that something similar wrt Putin is the primary motivation behind the war in Ukraine, BTW.)
That's more true of Taiwan's population. Taiwan's fertility rate is set to be the world's lowest.[1] So it doesn't seem like the population is Taiwan's advantage.
(There are good reasons to believe that something similar wrt Putin is the primary motivation behind the war in Ukraine, BTW.)