Which factors affect the bond length? (In brief)
Bond lengths are smaller when atoms form multiple bonds. Single overlap between two atoms forms a single covalent bond. So, when they overlap twice and thrice to form double and triple bonds the atoms to come closer to form a tight-knit. Such bonds are even harder to break. So, the bond length of a triple is smaller than a double and single bond.