If the iterators are forward iterators, we can measure the size and reserve the vector, avoiding reallocations and copying. PiperOrigin-RevId: 874172640 Change-Id: Ie081fdf7952858d7e41ddda63a3ae15d9867c8c5
If the iterators are forward iterators, we can measure the size and reserve the vector, avoiding reallocations and copying. PiperOrigin-RevId: 874172640 Change-Id: Ie081fdf7952858d7e41ddda63a3ae15d9867c8c5