If I have a Long (not the primitive) whats the best way to convert it to a string. By best, I mean fastest.
Currently, I'm doing this.
Long testLong = 123456L;
return new StringBuilder()
.append(PREFIX)
.append("_")
.append(testLong)
.toString();
is String.valueOf(testLong)
or testLong.toString()
better?