Hacker News
new
past
comments
ask
show
jobs
points
by
vhcr
6 hours ago
|
comments
by
edflsafoiewq
5 hours ago
|
[-]
If the s are small the usual geometric buffer growth mitigates that. Of course you can compute the final buffer size in this case, but often you have a bunch of dynamically-generated strings of different sizes.
reply