DEV Community

Discussion on: Performance Benchmarking: String and String Builder

Collapse
 
hngvchnh1 profile image
Hưng Võ Chánh

But after the use of StringBuilder, we usually call toString() method. Can you put it in the benchmark?

Thread Thread
 
dagnelies profile image
Arnaud Dagnelies

I tried to see if it makes a difference out of curiosity, but it does not really.