Lets say I change barbarian swordmen from heavy infantry to light infantry, will it make them tire out slower and make them move faster? Or is this completely unrelated, and only effects how they line up in the formations text?

Thanks.