3 ms·
Every add except the first one is using the same code in either version. The suggested change does not affect String + &str at all.
by Dylan16807 5y ago
Every add except the first one is using the same code in either version.
The suggested change does not affect String + &str at all.
- eklavya 5y agoOk, maybe I misunderstood, I thought you were saying &str + &str with precomputed capacity in call cases, let me read it again.