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