3 ms·
The latter will allocate all of the integers and then free them as they're joined. The former will allocate one integer, then add it to the string and free it,
by rabidsnail 15y ago
The latter will allocate all of the integers and then free them as they're joined. The former will allocate one integer, then add it to the string and free it, then allocate another integer.